Edit: SOLUTION: I had to use 127.0.0.1 and port 81 for the proxy host that points to the NPM admin page
I’m trying to follow this tutorial from Wolfgang’s Channel: https://www.youtube.com/watch?v=qlcVx-k-02E but I’m using Nginx Proxy Manager (NPM) on TrueNAS Scale.
I managed to get the SSL certificate working (the challenge is successful) but after setting up the proxy host for NPM I’m unable to reach the WebUI of NPM like he does in the video after setting that up.
This is the setting for my proxy host.
But when trying to access the WebUI through the domain name all I get is 504 Gateway Time-out. Does anyone know what I did wrong?
Nginx Proxy Manager is also properly setup to use ports 80/443. So when I access the IP address without any port I get sent to the default site of NPM.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I also setup a proxy host to connect to the TrueNas WebUI just to try it out and that is working perfectly fine.
I’m not very familiar with nginx, I use haproxy for my reverse proxy or load balancing needs.
Do the 504 get logged on the proxy? From your screen grabs it seems that nginx have a working connection to the upstream server.
Maybe that website needs special settings that nginx can’t handle or is not set up for?
I figured it out and added the solution to the OP.