disable "error_page 499 ..."
This commit is contained in:
parent
41737436a5
commit
ea933c783f
1 changed files with 1 additions and 1 deletions
|
@ -2884,7 +2884,7 @@ ngx_http_core_error_page(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
|
||||
err->status = ngx_atoi(value[i].data, value[i].len);
|
||||
|
||||
if (err->status == NGX_ERROR) {
|
||||
if (err->status == NGX_ERROR || err->status == 499) {
|
||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||
"invalid value \"%V\"", &value[i]);
|
||||
return NGX_CONF_ERROR;
|
||||
|
|
Loading…
Reference in a new issue