allow to handle 301/302 in error_page
Igor Sysoev
11 years ago
3899 | 3899 | return NGX_CONF_ERROR; |
3900 | 3900 | } |
3901 | 3901 | |
3902 | if (err->status < 400 || err->status > 599) { | |
3902 | if (err->status < 300 || err->status > 599) { | |
3903 | 3903 | ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
3904 | "value \"%V\" must be between 400 and 599", | |
3904 | "value \"%V\" must be between 300 and 599", | |
3905 | 3905 | &value[i]); |
3906 | 3906 | return NGX_CONF_ERROR; |
3907 | 3907 | } |