fix typo in variable ProxyRealIPCIDR
This commit is contained in:
parent
697cf2d8c3
commit
bd9ec42042
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ events {
|
|||
http {
|
||||
{{/* we use the value of the header X-Forwarded-For to be able to use the geo_ip module */}}
|
||||
{{ if $cfg.UseProxyProtocol }}
|
||||
set_real_ip_from {{ $cfg.ProxyRealIpCidr }};
|
||||
set_real_ip_from {{ $cfg.ProxyRealIPCIDR }};
|
||||
real_ip_header proxy_protocol;
|
||||
{{ else }}
|
||||
real_ip_header X-Forwarded-For;
|
||||
|
|
Loading…
Reference in a new issue