From ef871ed3872588bb4452e2c5ce8f46b8b32e32c6 Mon Sep 17 00:00:00 2001 From: Elie Date: Tue, 12 Aug 2014 23:14:22 -0400 Subject: [PATCH] Test conf autologin --- conf/nginx.conf | 2 +- scripts/install | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5b39173..6124a06 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,7 @@ location PATHTOCHANGE { client_max_body_size 10G; fastcgi_pass 127.0.0.1:SEAHUB_PORT; - include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_script_name; diff --git a/scripts/install b/scripts/install index efd842c..dd459bc 100644 --- a/scripts/install +++ b/scripts/install @@ -72,6 +72,13 @@ echo 'MEDIA_URL = "'$path'/media/"' | sudo tee -a $final_path/seahub_settings.py echo 'SITE_ROOT = "'$path'/"' | sudo tee -a $final_path/seahub_settings.py echo 'FILE_SERVER_ROOT = "http://'$domain$path'"' | sudo tee -a $final_path/seahub_settings.py + + +echo 'DEBUG = True' | sudo tee -a $final_path/seahub_settings.py + + + + # LDAP configuration echo '[LDAP]' | sudo tee -a $final_path/ccnet/ccnet.conf echo 'HOST = ldap://localhost:389' | sudo tee -a $final_path/ccnet/ccnet.conf