aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 191219b73..c27099616 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1300,6 +1300,8 @@ ngx_http_upstream_process_header(ngx_event_t *rev)
r->method = NGX_HTTP_GET;
}
+ r->valid_unparsed_uri = 0;
+
ngx_http_internal_redirect(r, uri, &args);
return;
}