I’m using few subdomains to point to my EC2 server.
The server is using
nginx and hosted few other domains as well which are not on Cloudflare.
To enable SSL on the domains not serving via cloudflare, I’m using
let's encrypt for those domain and SSL certificate is configured in each
nginx config file for each domain.
The domain proxied via cloudflare has no SSL installed using
let's encrypt but the same is not working and gives 522 response.
Removing from proxy of Cloudflare, it’s working fine (without SSL).