Test conf autologin

Former-commit-id: ef871ed387
This commit is contained in:
Elie 2014-08-12 23:14:22 -04:00
parent 32cb33d553
commit 17ab65a6fd
2 changed files with 8 additions and 1 deletions

View file

@ -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;

View file

@ -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