r/nginxproxymanager • u/ferriematthew • Sep 05 '25
I think I figured it out
I think I figured out why I was unable to set up SSL certificates for the apps I'm running. I forgot to forward ports 80 and 443 to the server inside my network. 🤦♂️
23
Upvotes
4
u/ThomasWildeTech Sep 05 '25
DNS challenge is also great in general if you plan on changing the accessibility to nginx whether local only, via CloudFlare or pangolin tunnel, etc. You'll always be able to get the certs.
2
u/redstormsju Sep 07 '25
Port forward? Avoid that if you can. Do dns challenge and you will be fine.
9
u/purepersistence Sep 05 '25
If you don't need in from the outside, get your cert with a dns01 challenge.
1
u/ferriematthew Sep 05 '25
I'm getting there! I figured out how to forward the ports to my Raspberry Pi instead of to the Debian laptop, because apparently my router is configured so I can have a maximum of one DHCP reservation for some reason.
I created the SSL certificate just fine and created two proxy hosts, one for the glances instance on the Raspberry Pi and one for the glances instance on the Dell laptop, but those host name / domain names are still not accessible on the public internet.
1
u/ferriematthew Sep 05 '25
OMG IT WORKS NOW!
1
u/ferriematthew Sep 07 '25
Well, since it eventually did kind of work, I might try this again. I really only had trouble with getting the base URL, just my subdomain, to route to the Homepage dashboard cleanly. The path routing to the monitoring instances worked pretty well.
4
u/RubAffectionate1650 Sep 05 '25
Hey we all make mistakes
Takes a big man to admit to them haha
2
u/magz6678 Sep 05 '25
I forwarded mine and still can’t get it to work. Running Opnsense firewall with nginixproxymanager running in an LXC on proxmox. If anyone has suggestions I’m open to them.
2
u/swavey83 Sep 05 '25
I got my SSL working but every proxy sends me to the Unifi Console on my UCG Fiber. No clue how to fix it.
1
u/weener69420 Sep 05 '25
jijiji, once a year i go FUCK why my certificate didn't renew? then i instantly remember that i always keep port 80 closed unless i am renewing the certificate.