Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 07-10-2021, 12:12 PM   #1
coleman
Connoisseur
coleman began at the beginning.
 
Posts: 95
Karma: 38
Join Date: Jul 2007
Device: Android tablets and phones, Windows tablet, Kobo Aura One
Calibre with internal auth behind Nginix reverse proxy?

Does anyone have Calibre's content server working behind an Nginx reverse proxy, while having Calibre's own auth module work? I tried this back in February on my VPS, and I couldn't get it working. At the time, it looked like Nginx wasn't passing some elements in the auth process. I'd get:
Code:
Authorization URI mismatch: ('interface-data', 'init') != ('calibre', 'user', 'plugins', 'web', 'interface-data', 'init') from client: xxx.xxx.xxx.xxx
errors. I reported the problem to the VPS and they blamed it on bugs in Nginx digest auth module. I don't use Nginx in my proxy setups so I don't know it well enough to know if that's the case or not.

So, has anyone gotten this working? I thought I'd take another stab at it, but if I'm wasting my time, that'd be good to know.

Thanks!
coleman is offline   Reply With Quote
Old 07-10-2021, 09:33 PM   #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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I would suggest setting up SSL and using basic auth, it will work much better with proxying than digest.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-25-2021, 11:54 AM   #3
piboy.kumar
Junior Member
piboy.kumar began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2021
Device: none
I use Calibre authentication and SSL/ reverse proxy using NGINX.

calibre : http://192.168.20.25:8181
https://books.mydomain.com => (Linuxserver/SWAG - docker)

I have Linuxserver/SWAG - docker as NGINX/LetsEncrypt docker which points to the Calibre docker.

I have around 6 users and its all working fine.
All the users have their own library folder in Calibre.
piboy.kumar is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre http to https nginx reverse proxy issue vinuabe4 Server 2 01-20-2020 08:01 AM
Calibre Reverse Proxy Mac High Seira Vanguard382 Server 1 01-15-2019 10:06 PM
Need help: Using NGINX as reverse-proxy for Calibre haertig Related Tools 5 11-18-2017 08:54 PM
Calibre-server reverse proxy issues dom134 Related Tools 12 05-30-2016 04:39 PM
Aldiko + Calibre-Server + Reverse Proxy dummkauf Related Tools 4 02-02-2016 02:55 PM


All times are GMT -4. The time now is 01:40 PM.


MobileRead.com is a privately owned, operated and funded community.