|
|
Thread Tools | Search this Thread |
09-24-2019, 03:32 AM | #1 |
Junior Member
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? |
09-24-2019, 03:45 AM | #2 |
creator of calibre
Posts: 44,526
Karma: 24495948
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.
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nginx Calibre Proxy | Ackis | Calibre | 2 | 04-19-2016 02:48 PM |
Regex wildcard trouble | David Kudler | Sigil | 6 | 03-18-2016 12:02 PM |
IRC SSL cert | jgoguen | Feedback | 0 | 08-03-2015 01:38 PM |
New York Times Recipe failing to verify SSL Cert | Ramblurr | Recipes | 6 | 02-27-2015 05:31 AM |
Can't View Cricket Wireless Site on KFHD | eSheri | Kindle Fire | 3 | 10-23-2013 03:59 AM |