mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Merge pull request #2253 from holta/calibre-web-url-langs
NGINX: Add http://box/libros & http://box/livres (in addition to http://box/books, for Calibre-Web)
This commit is contained in:
commit
3f9fe4faa5
1 changed files with 19 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# TO DO: restore http://box/libros & http://box/livres etc, alongside English (#2195)
|
||||
# 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,3 +8,21 @@ location {{ calibreweb_url1 }}/ {
|
|||
proxy_set_header X-Script-Name {{ 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;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Script-Name {{ 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;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Script-Name {{ calibreweb_url3 }};
|
||||
proxy_pass http://127.0.0.1:8083;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue