View Single Post
Old 12-28-2023, 03:39 PM   #1
HuckinFappy
Junior Member
HuckinFappy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kindle Paperwhite
Question Problems with nginx reverse proxy and calibre

I've recently set up nginx as a front end reverse proxy for all my internal servers (plex, the *arrs, calibre/calibre-web). I'm sure this is probably an nginx config question, but I'm starting here since I got all of the other subdomains to work over HTTPS using certbot and LetsEncrypt, except for calibre 7.2.

All servers run in docker containers on an Ubuntu 23.10 (mantic) host and nginx version 1.24.0-1ubuntu1, and are cleanly accessible from the internal network with no problems without the proxy...the host they run on is not using a firewall at this time (the router is, of course). With ports 443, 8080, 8081, and 8181 open on the router (the latter 3 opened during debugging, probably unnecessary) I get to the server, but I get a KasmVNC error:

(domain name blacked out for privacy)


Here's my basic nginx configuration for this subdomain, based on the Calibre documentation, but with SSL configuration added:



The Chrome developer tools show the following:


I don't know if this is a red herring or if there's websocket configuration I need to add (that is not mentioned in the documentation though), but that would be new to me, so i could use some assistance if so. I suspect this may be the issue, since trying Calibre 6.x and 5.x versions give similar errors.

I was able to set up the proxy to forward to the content server instead (port 8081), but that's not the interface I'm looking for. I use Calibre-web for that functionality, and am looking for the main Calibre UI for full remote library maintenance when on the go

Thanks for any ideas, and let me know if more information is needed.
HuckinFappy is offline   Reply With Quote