honor HTTP_X_FORWARDED_SCHEME in Rack#scheme #292

wants to merge 1 commit into


None yet

2 participants


This makes Rack play nice with the following Nginx line:

proxy_set_header X-Forwarded-Scheme $scheme;

which is more flexible than a hardwired

proxy_set_header X-Forwarded-Ssl on;
@raggi raggi added a commit that closed this pull request Dec 27, 2011
@raggi raggi Add support for HTTP_X_FORWARDED_SCHEME. From pull request 292, reimp…
…lemented due to lack of tests. Closes #292.
@raggi raggi closed this in 2598035 Dec 27, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment