Mercurial > hg > nginx
changeset 4422:b1a9d725ab69
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
}
}
}
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 30 Jan 2012 11:22:56 +0000 |
parents | fbae1a82de8b |
children | 196c3dacff0d |
files | src/http/modules/ngx_http_proxy_module.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff