Fix nginx redirection

This commit is contained in:
Josué Tille 2017-12-12 16:46:06 +01:00
parent b094da4899
commit b23316c27b

View file

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