Last active
June 5, 2019 19:43
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This saved my afternoon.