Option to force HTTPS on custom domains


#1

According to the topic and response below, you cannot force HTTPS server-side on custom domains on Glitch:

As said in the other threads, it’s not possible to force it globally for all projects because it may result in some problems. Therefore, I suggest to make an option on Glitch to force HTTPS on custom domains.

This is a feature suggestion so don’t forget to vote for it if you think it would be useful.


#2

You can use Cloudflare to force https.


#3

Thanks for the suggestion! I just did that. However, I think it would be cool to have it as an option without leaving Glitch. This option is available on fly.io which is used by Glitch to serve custom domains, so I believe it shouldn’t be too hard to implement.


#4

If your using fly.io them under your “site” go to middlewere and select HTTPS (something like that, I’m on mobile so I can’t check).


#5

Thanks @xXProGamerXx, your tutorial helped me immensely! :slight_smile:


#6

No problem. (I had completely forgotten about that tutorial e.e)