Use rewrite to preserve the port

This commit is contained in:
Kovid Goyal 2017-06-27 01:05:35 +05:30
parent aae905d843
commit 76f1e3fac6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -302,7 +302,7 @@ With nginx, the required configuration is::
} }
location /calibre { location /calibre {
# we need a trailing slash for the Application Cache to work # we need a trailing slash for the Application Cache to work
return 301 $scheme://$host$uri/; rewrite /calibre /calibre/ permanent;
} }