How can I get my Galaxy app to redirect http to https?


#1

Currently, using the naked domain name ‘app.myapp.io’ goes to ‘http://app.myapp.io’.

I used the LetsEncrypt options on Galaxy, which is awesome, and I ‘https://app.myapp.io’ correctly resolves with the SSL certificate, but I would like the naked domain name and ‘http://app.myapp.io’ to go directly to ‘https://app.myapp.io’.

Does anyone have any experience with this?

Mahalo


#2

Have you tried the force-ssl package?

https://atmospherejs.com/meteor/force-ssl


#3

Im the only one getting an error with force-ssl?


#4

You should try incognito or clear your cache. If is not working you can be more specific about you issue.