Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create calibre-web-nginx.conf #50

Merged
merged 4 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions scripts/calibre-web-nginx.conf
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
# 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;
proxy_set_header X-Scheme $scheme;
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;
}

# http://box/library/calibre-web/<author>/<title>/<webm_or_mp4_video_file>
deldesir marked this conversation as resolved.
Show resolved Hide resolved
location /library/calibre-web/ {
alias /library/www/html/calibre-web/;
fancyindex on; # autoindex on;
Expand Down