View Single Post
Old 04-18-2016, 11:54 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27230406
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;
}
And run the calibre server with

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;
}
and run calibre without --url-prefix
kovidgoyal is online now   Reply With Quote