Mercurial > hg > nginx
diff src/http/ngx_http_upstream.h @ 3862:f4c49c9e4bb5
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
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 17 Feb 2011 11:54:35 +0000 |
parents | 254c09d0f791 |
children | 215fe9223419 |