Merge pull request #348 from linuxserver/calibre

Update calibre subfolder conf for new image
This commit is contained in:
aptalca 2021-06-28 09:25:38 -04:00 committed by GitHub
commit e2e069c040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
## Version 2021/05/18 ## Version 2021/06/28
# calibre does not require a base url setting # In calibre docker arguments, set an env variable for SUBFOLDER=/calibre/
location /calibre { location /calibre {
return 301 $scheme://$host/calibre/; return 301 $scheme://$host/calibre/;
@ -24,5 +24,4 @@ location ^~ /calibre/ {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite /calibre(.*) $1 break;
} }