Disable force-ssl package conditionally through Meteor.settings


#1

Do you need also need this? Please comment in the issue. https://github.com/meteor/meteor-feature-requests/issues/330


Disable forceSLL with Meteor.settings not working
#2

You can get exactly what you want by using meteorblackbelt’s version of force-ssl instead of the default meteor one:

meteor remove force-ssl
meteor add meteorblackbelt:force-ssl

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


#3

See that I mention this on my issue, it’s almost the same but not the same.


#4

Looking at the code, it looks like setting Meteor.settings.forceSSL to false should do the trick?

You could also copy Meteor’s force-ssl package into your own /packages/ folder and make the desired adjustments?