-
Terence Lee authored
Normally, when receiving a Location header, nginx will rewrite it to reference a URL if it matches the proxy_pass. This breaks when the scheme changes, since proxy_pass can have a scheme. For instance, if you have a proxy: "https://www.foo.com", but the Location on a redirect from that site returns "http://www.foo.com" nginx won't rewrite the URL. This fixes it by specifying the redirect for both http and https.
| Name |
Last commit
|
Last update |
|---|---|---|
| bin | ||
| scripts | ||
| spec | ||
| .gitignore | ||
| .rspec | ||
| CHANGELOG.md | ||
| Gemfile | ||
| Gemfile.lock | ||
| README.md | ||
| Rakefile | ||
| circle.yml |