Serving a static site from S3 using Cloudflare Full SSL
Simple instructions to fix the Cloudflare 522 error you get connecting to a static website hosted on AWS S3 when you set Cloudflare's encryption mode to Full SSL. The trick is to serve your static website via Cloudfront.