mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-20 06:46:34 +01:00
Use rewrite to preserve the port
This commit is contained in:
parent
aae905d843
commit
76f1e3fac6
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ With nginx, the required configuration is::
|
|||
}
|
||||
location /calibre {
|
||||
# we need a trailing slash for the Application Cache to work
|
||||
return 301 $scheme://$host$uri/;
|
||||
rewrite /calibre /calibre/ permanent;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue