mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
parent
32cb33d553
commit
17ab65a6fd
2 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue