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 09-24-2019, 02:32 AM   #1
alexauran
Junior Member
alexauran began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2019
Device: none
nginx rev pxy /w wildcard ssl cert - you are not authorized to view this site

port 80 forwards to 8080 on router
Nginx reverse proxy on Raspberry Pi 4
wildcard ssl cert from letsencrypt via certbot
calibre-server.exe running as windows service via nssm on 192.168.1.2

____nginx reverse-proxy.conf file___
server {
listen 8080;
listen [::]:8080;
server_name *.mydomain.com;
return 301 https://$host$request_uri;
}
server {
listen 8443 http2 ssl;
listen [::]:8443 http2 ssl;
include ssl.conf;
server_name calibre.mydomain.com;
location / {
include proxy-settings.conf;
proxy_pass http://192.168.1.2:7070;
}
}

Cleared cookies, page loads with working ssl, but no option to enter name and password. Other subdomains with username and passwords allow the option to enter. Error reads "You are not authorized to view this site" in red. I'm new to nginx and ssl certs. Any ideas where I went wrong?
alexauran is offline   Reply With Quote
Old 09-24-2019, 02:45 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: 43,944
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Set the http authentication type to basic with the --auth-mode option. And first get the reverse proxy working without SSL and then try adding SSL.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx Calibre Proxy Ackis Calibre 2 04-19-2016 01:48 PM
Regex wildcard trouble David Kudler Sigil 6 03-18-2016 11:02 AM
IRC SSL cert jgoguen Feedback 0 08-03-2015 12:38 PM
New York Times Recipe failing to verify SSL Cert Ramblurr Recipes 6 02-27-2015 04:31 AM
Can't View Cricket Wireless Site on KFHD eSheri Kindle Fire 3 10-23-2013 02:59 AM


All times are GMT -4. The time now is 02:54 AM.


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