mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update calibre-web-nginx.conf.j2
This commit is contained in:
parent
8001b18660
commit
936acdc099
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
# RELATED: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy
|
||||
|
||||
# http://box/books
|
||||
location {{ calibreweb_url1 }}/ {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
@ -8,6 +9,7 @@ location {{ calibreweb_url1 }}/ {
|
|||
proxy_pass http://127.0.0.1:8083;
|
||||
}
|
||||
|
||||
# http://box/libros
|
||||
location {{ calibreweb_url2 }}/ {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
@ -16,6 +18,7 @@ location {{ calibreweb_url2 }}/ {
|
|||
proxy_pass http://127.0.0.1:8083;
|
||||
}
|
||||
|
||||
# http://box/livres
|
||||
location {{ calibreweb_url3 }}/ {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
Loading…
Add table
Reference in a new issue