Tutorial: How to correctly set up Nginx Proxy Manager and Cloudflare

Hi guys, I’ve just spent the last day or so having a play with Nginx Proxy Manager (NPM) running alongside Cloudflare.

The initial installation was pretty easy. Using docker on a linux machine (ubuntu server) I had everything installed in a few minutes, but trying to iron out the connections between the two, proved troublesome. I persevered and through trial and error managed to have it working

The biggest issues were the 502 gateway. In any event, if anyone has their own domain name and is interested in accessing their machine / containers from the internet ie. plex.yourdomain.com, or movies.yourdomain.com etc, then here’s a walk through. If you spot any errors or know of a better way then let me know!

Hope this is useful!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.