When my DNS is proxied, I cannot connect to my self-hosted apps.
What steps have you taken to resolve the issue?
Turning off CF proxy makes my sites connectable. I’ve spent several days looking for a solution. I’m not a professional, just a hobbyist who is still learning. I’m using SWAG reverse proxy server (comes with nginx). I have another system in a different location with an identical setup, and it works perfectly fine. It’s just this domain that doesn’t work when proxied. It takes almost a minute just to connect, and when/if it does, in my browser console I see a wall of 522 errors and the site wil not load properly.
The differences are my other domain’s registrar is IONOS, and this one is with Cloudflare (figured I’d keep this one all in-house). The reverse proxies work when I have CF’s DNS proxy turned off. I also tried a temporary configuration with DuckDNS which also worked perfectly fine. But then entire point of getting this domain and using CF was to help mask the home IP.
Here is another post with someone having the same issue, but no resolution was ever found/mentioned:
What feature, service or problem is this related to?
DNS not responding/updating
What are the steps to reproduce the issue?
Step to reproduce are simply turning on DNS proxy.
(Most common cause) Cloudflare IP addresses are rate limited or blocked in .htaccess, iptables, or firewalls. Confirm your hosting provider allows Cloudflare IP addresses.
An overloaded or offline origin web server drops incoming requests.
The origin IP address in your Cloudflare DNS app does not match the IP address currently provisioned to your origin web server by your hosting provider.