Is it possible to set up SSL with a custom domain on github pages #21897
Answered
by
osioke
AlMcKinlay
asked this question in
Other Feature Feedback, Questions, & Ideas
|
When setting up a GitHub pages, I tried to enable SSL, but because I have a custom domain, it doesn’t let me do this. Is there a way we can set this up? |
Answered by
osioke
Oct 11, 2017
Replies: 5 comments
|
Yes, sure you can. I wanted to do this a while back and did some research on it. It appears you can use CloudFlare to do this, by setting a page rule that forces HTTPS redirects amongst other things. There are quite a lot of tutorials out there, but this tutorial on CloudFlare’s blog as well as this GitHub Gist really broke it down. Do let me know if it works well when you try it. Cheers! |
0 replies
|
Great, thanks. I’ll give that a try, that makes sense. |
0 replies
|
Cool, I haven’t heard of them before, I will check them out. |
0 replies
|
Tried fly.io, but it looks like they don’t support letsencrypt directly. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, sure you can.
I wanted to do this a while back and did some research on it. It appears you can use CloudFlare to do this, by setting a page rule that forces HTTPS redirects amongst other things.
There are quite a lot of tutorials out there, but this tutorial on CloudFlare’s blog as well as this GitHub Gist really broke it down.
Do let me know if it works well when you try it.
Cheers!