|
|
#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,636
Karma: 28549046
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"; |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Proxy settings for Calibre | Walmoo | Recipes | 1 | 02-07-2014 08:22 AM |
| Calibre 2 behind Windows Proxy Server | ictstbenedicts | Calibre | 1 | 10-10-2012 01:41 PM |
| Calibre Portable : Problem with proxy | ericcc | Calibre | 1 | 06-27-2011 09:26 AM |
| Using calibre in a proxy. fetching metadata proxy authentication required | shiftymorgan | Calibre | 8 | 05-13-2011 04:45 AM |
| Is Calibre Proxy Aware? | eelizondo | Calibre | 6 | 07-08-2010 01:10 PM |