mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Use rewrite to preserve the port
This commit is contained in:
parent
aae905d843
commit
76f1e3fac6
@ -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…
x
Reference in New Issue
Block a user