fix directive name in error message: "set_realip_from" to "set_real_ip_from"
This commit is contained in:
parent
cb70a07432
commit
98a524f8b9
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ ngx_http_realip_from(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
|
||||
if (cidr.family != AF_INET) {
|
||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||
"\"set_realip_from\" supports IPv4 only");
|
||||
"\"set_real_ip_from\" supports IPv4 only");
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue