summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/http/ngx_http_core_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index e8484ee45..8d83c440e 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1215,6 +1215,7 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r,
(void) ngx_http_internal_redirect(r, &path, &args);
}
+ ngx_http_finalize_request(r, NGX_DONE);
return NGX_OK;
}