mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix nginx and sso config
working release \o/
This commit is contained in:
parent
2bfcfc26ee
commit
0e4506fabf
2 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue