aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index d1bf10457..0ad08d5e1 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -415,8 +415,10 @@ ngx_http_handler(ngx_http_request_t *r)
r->connection->write->event_handler = ngx_http_core_phase_event_handler;
+ r->valid_unparsed_uri = 1;
r->uri_changed = 1;
r->uri_changes = 11;
+
r->phase = NGX_HTTP_REWRITE_PHASE;
r->phase_handler = 0;