christopheranderson / azure-demeteorizer

CLI tool for deploying demeteorized meteor apps on Azure App Service.
MIT License
26 stars 8 forks source link

Redirect loop with 'force-ssl' package #15

Open ramijarrar opened 8 years ago

ramijarrar commented 8 years ago

Using Meteor's force-ssl package leads to a redirect loop. We can work around this by moving the functionality down to web.config but considering the widespread usage of force-ssl, it makes sense to at least warn users in the docs.

EDIT: It is also worth mentioning that Meteor uses a flag set by the force-ssl package to change the ROOT_URL protocol to 'https' and so with the approach above we need to specify this ourselves (Hence my comment regarding #14).

DanceParty commented 8 years ago

So using the forcehttps web.config alone should work right?

DanceParty commented 8 years ago

I am just getting a 500 error on Azure when installing with the force-https config file and changing my ROOT_URL to https://myazurewebapp.net