Skip to content

Commit

Permalink
fix typo in variable ProxyRealIPCIDR
Browse files Browse the repository at this point in the history
  • Loading branch information
gianrubio authored Dec 12, 2016
1 parent 697cf2d commit bd9ec42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd9ec42

Please sign in to comment.