Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect loop with 'force-ssl' package #15

Open
ramijarrar opened this issue Jan 29, 2016 · 2 comments
Open

Redirect loop with 'force-ssl' package #15

ramijarrar opened this issue Jan 29, 2016 · 2 comments

Comments

@ramijarrar
Copy link

ramijarrar commented Jan 29, 2016

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).

@ramijarrar ramijarrar changed the title Redirect loop with force-ssl Redirect loop with 'force-ssl' package Jan 30, 2016
@DanceParty
Copy link

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

@DanceParty
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants