fix typo in variable ProxyRealIPCIDR

This commit is contained in:
Giancarlo Rubio 2016-12-12 14:23:45 +01:00 committed by GitHub
parent 697cf2d8c3
commit bd9ec42042

View file

@ -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;