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 { http {
{{/* we use the value of the header X-Forwarded-For to be able to use the geo_ip module */}} {{/* we use the value of the header X-Forwarded-For to be able to use the geo_ip module */}}
{{ if $cfg.UseProxyProtocol }} {{ if $cfg.UseProxyProtocol }}
set_real_ip_from {{ $cfg.ProxyRealIpCidr }}; set_real_ip_from {{ $cfg.ProxyRealIPCIDR }};
real_ip_header proxy_protocol; real_ip_header proxy_protocol;
{{ else }} {{ else }}
real_ip_header X-Forwarded-For; real_ip_header X-Forwarded-For;