]> git.kaiwu.me - nginx.git/commit
always test proxy_redirect with slash, this fixes a case when nginx uses
authorIgor Sysoev <igor@sysoev.ru>
Thu, 17 Feb 2011 11:54:35 +0000 (11:54 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 17 Feb 2011 11:54:35 +0000 (11:54 +0000)
commitb2492255f8d061b19ff8205d40a9a5edaa132e92
tree744d4fc844a027b2ff65643f298a3552a1818a45
parent4d6db4a7ab7c521f60930548e85c450d43869d0c
always test proxy_redirect with slash, this fixes a case when nginx uses
proxy_pass "http://www", upstream redirects to "http://www.host/uri",
and nginx rewrites it as ".host/uri"
patch by Maxim Dounin
src/http/modules/ngx_http_proxy_module.c