![]() |
#1 | ||||||
Member
![]() Posts: 21
Karma: 10
Join Date: Sep 2013
Location: Canada
Device: Galaxy Tab 2 10.1, iPad 2
|
Nginx Calibre Proxy
Good morning everyone - I've been trying to get my calibre server to work behind a reverse proxy, however I've been having various issues.
This setup that I've done has worked for other services (e.g. couchpotato). Ideally I'll get it running being a ssl connection, but my first goal is to get it working so I can access it via: http://calibre.local http://home.local/calibre These are my nginix configs: This config is commented out - eventually it'll redirect http://calibre.local to https://calibre.local Quote:
Quote:
Quote:
Quote:
ssl.conf Quote:
This is my calibre.service file: Quote:
|
||||||
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why have you got both proxy_pass and proxy_redirect? You cannot acces it both as a top level and under /calibre -- that makes no sense. Pick one, for example, if you want it under /calibre
Code:
location /calibre { proxy_pass http://localhost:8080/calibre; } calibre-server --url-prefix /calibre or if you want to devote a whole virtual host to it Code:
server http://whatever location / { proxy_pass http://localhost:8080; } |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Sep 2013
Location: Canada
Device: Galaxy Tab 2 10.1, iPad 2
|
Quote:
Anyways to the problem at hand, my configuration was correct however I had this set: Code:
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains"; |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Proxy settings for Calibre | Walmoo | Recipes | 1 | 02-07-2014 07:22 AM |
Calibre 2 behind Windows Proxy Server | ictstbenedicts | Calibre | 1 | 10-10-2012 12:41 PM |
Calibre Portable : Problem with proxy | ericcc | Calibre | 1 | 06-27-2011 08:26 AM |
Using calibre in a proxy. fetching metadata proxy authentication required | shiftymorgan | Calibre | 8 | 05-13-2011 03:45 AM |
Is Calibre Proxy Aware? | eelizondo | Calibre | 6 | 07-08-2010 12:10 PM |