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