mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix nginx redirection
This commit is contained in:
parent
b094da4899
commit
b23316c27b
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
location PATHTOCHANGE1 {
|
||||
if ($scheme = 'http' ) {
|
||||
return 301 https://$http_host/seafile/;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
proxy_pass http://127.0.0.1:SEAHUB_PORT;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Reference in a new issue