Setting up Cloudflare Tunnels with Nginx-Proxy-Manager as reverse proxy

What is the name of the domain?

example.com

What is the error number?

521

What is the error message?

Web server is down

What is the issue you’re encountering

Error 521

What steps have you taken to resolve the issue?

I have setup a cloudflare tunnel to connect to my nginx-proxy-manager that I want to use as a reverse proxy

  • I setup the different host in npm (see screenshot below)
  • I have set up the DNS for my domain in Cloudflare
  • I have setup cloudflared on my host (same VM as npm by the way)
  • I have created a tunnel and point it to my npm port 443 (as 40443)

But it seems that cloudflare cannot redirect to my npm.

Screenshot of the error

Do not pay attention to the port number, I put 40443 initially

Do not pay attention to the port number, it should be 40443

Forget it, it got solved naturally… I guess the DNS didnt propagate well.

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