mirror of
https://github.com/nginx/nginx.git
synced 2025-06-09 19:12:47 +08:00
fix directive name in error message: "set_realip_from" to "set_real_ip_from"
This commit is contained in:
parent
39c9f6e487
commit
771e677674
@ -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 New Issue
Block a user