mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Update calibre subfolder conf for new image
This commit is contained in:
parent
8fbb8a887f
commit
292a9bd420
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
## Version 2021/05/18
|
||||
# calibre does not require a base url setting
|
||||
## Version 2021/06/28
|
||||
# In calibre docker arguments, set an env variable for SUBFOLDER=/calibre/
|
||||
|
||||
location /calibre {
|
||||
return 301 $scheme://$host/calibre/;
|
||||
|
@ -24,5 +24,4 @@ location ^~ /calibre/ {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
rewrite /calibre(.*) $1 break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue