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?