What is the name of the domain?
What is the error number?
What is the issue you’re encountering
A newly created Mastodon Server utilized with Cloudflare hit some HTTP errors, but I think the server is the problem.
What steps have you taken to resolve the issue?
I will assumed that the correct private IP address to my Server is the same as the Proxmox Virtual Machine itself, which was given by my DHCP router: 192.168.1.237.
In Cloudflare's Dashboard, the DNS Records are as follow (Public IP Address is proxy, while Private IP is the DNS):
Type A, Domain, 119xxx, Proxied, Auto TTL
Type A, Domain, 192.168.1.237, DNS only, Auto TTL
The SSL/TLS is in Full Strict. Edge Certificates always used HTTPS.
I gave the origin certificates into the nginx's letsencrypt directory. I made sure the 2 server_name were example.com and www.example.com. I turn on CF's "Authenticated Origin Pulls".
I never create a free Let’s Encrypt SSL Certificates, but I did mkdir a path to it /etc/letsencrypt/live/example.com/ and just put origin certificates there.
I had temporary pause the Cloudflare's DNS Record's proxy to my public IP address, and the error was indeed 502.
In the Zero Trust's Network, the Tunnel displayed Healthy status, the routes is `192.168.1.0/24`; target is `192.168.1.237`. Using `nslookup`, I see the server got proxy reversed with 2 Cloudflare Ipv4 & 6.
My Router got Port Forwarding (+ Firewall) with the destination Device to my VM; the 237 IP Address; 443, 7844 Ports; TCP/UDP.