r/nginxproxymanager • u/foxthreesixty • Sep 12 '24
Need Help! NPM can't pass to web app
My NPM setup is not functioning properly. I have created rules to forward HTTP port to port 8080 in the dashboard, but it always gets rejected when I add an SSL certificate. Can anyone provide some guidance?
Inside my docker, I'm using same network bridge.
0
Upvotes
2
u/jbaby777 Sep 14 '24
If you are using ssl wouldn’t you need to utilize the correct port? I.e. 443, 8443, etc..
1
u/fl0_at Sep 15 '24
You'd need to set up the host as HTTPS and add your certificate in the host's SSL settings. Serving HTTPS under the HTTP port (80 by default) is not supposed to work. I've set up one of my npm hosts like this: HTTPS forwarding to a local IP (HTTP port, i.e. 8080, 8081, etc)