commit | 3feafa765f5c065ec2921ef92c4c32c2dea4736c | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Mon Jan 30 11:22:56 2012 +0000 |
committer | Valentin Bartenev <vbart@nginx.com> | Mon Jan 30 11:22:56 2012 +0000 |
tree | 6b5c5e81fc6f2be4a5ddd47796cf275752d8f829 | |
parent | 4a23bc57051187362094c1f41793901805ac55c2 [diff] |
Fixed proxy_redirect off inheritance. Example configuration to reproduce: server { proxy_redirect off; location / { proxy_pass http://localhost:8000; proxy_redirect http://localhost:8000/ /; location ~ \.php$ { proxy_pass http://localhost:8000; # proxy_redirect must be inherited from the level above, # but instead it was switched off here } } }