diff options
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r-- | src/http/ngx_http_special_response.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index ba3bfcbc6..4cf88101e 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -292,6 +292,8 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) r->err_ctx = r->ctx; + r->method = NGX_HTTP_GET; + return ngx_http_internal_redirect(r, &err_page[i].uri, NULL); } } |