Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Infinite redirects with Cloudflare, S3, and Heroku SSL interactions #2
If you are using Cloudflare for your custom domains, and you’re using S3 with a Cloudflare hosted subdomain, and Heroku has a custom domain set with SSL turned on, your blog won’t load because of infinite redirects.
For https support for S3 buckets (e.g.
Because Flexible is set, Cloudflare makes http requests to
Neither of these are ideal, and is ONLY the case because you need to keep Flexible turned on to get https serving of S3 bucket subdomain (which you’re doing with Cloudflare because Amazon’s Cloudfront takes 53 steps to setup).
More reading on Cloudflare plus Heroku and Full SSL / Full SSL (Strict) is here https://www.viget.com/articles/heroku-cloudflare-the-right-way/