Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikermcneil/d3114517e4c7263b145274ea4ad3d0cb to your computer and use it in GitHub Desktop.
Save mikermcneil/d3114517e4c7263b145274ea4ad3d0cb to your computer and use it in GitHub Desktop.
For future reference: When attempting to set up cloudflare and heroku properly with SSL, here's how you do it.
For future reference: When attempting to set up cloudflare and heroku properly, here's how you do it:
1. Just buy the dingdang SSL cert through Cloudflare.
2. Enable Cloudflare's built-in https:// redirect functionality.
3. Use the "Full" SSL setting in Cloudflare
4. In Cloudflare, have your DNS set up to point at the normal/default DNS setting (not the special SSL one!)
5. Don't do anything related to SSL in heroku (or in your app logic)
> If you choose "Partial" SSL in Cloudflare or start monkeying around with SSL in Heroku, things get kind of weird.
@alwaysAn0n
Copy link

This saved my afternoon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment