Fix nginx and sso config

working release \o/
This commit is contained in:
mbugeia 2015-03-17 18:47:29 +01:00
parent 2bfcfc26ee
commit 0e4506fabf
2 changed files with 4 additions and 5 deletions

View file

@ -28,9 +28,8 @@ location PATHTOCHANGE {
include conf.d/yunohost_panel.conf.inc;
}
location /seafhttp {
rewrite ^/seafhttp(.*)$ /seafhttp$1 break;
proxy_pass http://127.0.0.1:SEAFILE_FILESERVER_PORT;
location /seafhttp/ {
proxy_pass http://127.0.0.1:SEAFILE_FILESERVER_PORT/;
client_max_body_size 0;
proxy_connect_timeout 36000s;
proxy_read_timeout 36000s;

View file

@ -124,9 +124,9 @@ sudo su - www-data -c "$final_path/first_launch.exp $admin_email $admin_password
if [ "$is_public" = "No" ]
then
sudo yunohost app setting seafile unprotected_urls -d
sudo yunohost app setting seafile unprotected_uris -d
else
sudo yunohost app setting seafile unprotected_urls -v "/"
sudo yunohost app setting seafile unprotected_uris -v "/"
fi
# register yunohost service