Cloudflare argo tunnel gives bad gateway error

If this should be the case, then it should return bad gateway error when it’s with dns setup also right. It only returns when Cloudflare Tunnel is connected.

I tried both the way, two run as service and by keeping ssh session on

I don’t use any firewall like ufw and talking about AWS all out bound traffic is allowed.

A small suggestion @eva2000, could please make a tutorial on how to connect Cloudflare Tunnel to nginx wordpress with full setup on ubuntu and lemp stack. I read about your mod it’s nice but it would be good if you can make a tutorial specially for this setup