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

Should force_https allow localhost over HTTP? #46

Open
ColdHeat opened this issue Aug 17, 2019 · 1 comment
Open

Should force_https allow localhost over HTTP? #46

ColdHeat opened this issue Aug 17, 2019 · 1 comment

Comments

@ColdHeat
Copy link

Should _force_https allow localhost over HTTP? I terminate SSL at the reverse proxy so issuing curl commands doesn't work against the local WSGI server without adding -H 'X-Forwarded-Proto: https'. I don't see this as a big deal but seemed like a reasonable suggestion.

@ColdHeat ColdHeat changed the title force_https allow localhost over HTTP? Should force_https allow localhost over HTTP? Aug 17, 2019
@Halkcyon
Copy link

Halkcyon commented Aug 12, 2020

Isn't this addressed by the middleware provided by werkzeug?

See: werkzeug.middleware.proxy_fix.ProxyFix

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