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

mongrel2 plugin does not pass through https in wsgi.url_scheme #562

Closed
timconnolly opened this issue Mar 14, 2014 · 3 comments
Closed

mongrel2 plugin does not pass through https in wsgi.url_scheme #562

timconnolly opened this issue Mar 14, 2014 · 3 comments

Comments

@timconnolly
Copy link

When using the mongrel2 plugin, uwsgi always sets wsgi.url_scheme to http.

If the mongrel2 server is configured with 'use_ssl=1' it will set a 'URL_SCHEME' header to 'https' and this should be used by uwsgi to set wsgi.url_scheme.

@unbit
Copy link
Owner

unbit commented Mar 14, 2014

Can you try if the patch is enough ? i did not tested it, thanks

@timconnolly
Copy link
Author

That has resolved the problem when using json, but not when using tnetstring.

rdeioris pushed a commit that referenced this issue Mar 17, 2014
@timconnolly
Copy link
Author

Looks good. Thanks.

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