I have an EC2 server running a few services using docker-compose. I pointed the domain A record to the server IP address.
When the domain is not proxied through Cloudflare, it works fine with
But after enabling the proxy, it does not work and keeps loading only.
Error 522 Connection timed out
Note: I’m not using any proxy service like nginx. Because I want to serve the services over ports only.