mirror of
https://github.com/nginx/nginx.git
synced 2025-01-07 06:33:00 -06:00
after redirecting by error_page any rewrite directive will return this code,
bug introduced in r727
This commit is contained in:
parent
afe577cc6c
commit
cccc185623
@ -178,6 +178,10 @@ ngx_http_rewrite_handler(ngx_http_request_t *r)
|
||||
code(e);
|
||||
}
|
||||
|
||||
if (e->status == NGX_DECLINED) {
|
||||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
if (r->err_status == 0) {
|
||||
return e->status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user