Merge pull request #52 from gianrubio/typo-realipcidr

fix typo in variable ProxyRealIPCIDR
This commit is contained in:
Manuel Alejandro de Brito Fontes 2016-12-12 11:07:36 -03:00 committed by GitHub
commit 2ac8117b83

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;