From bd9ec42042468c6a83e582fa3757b5f0bc29ea08 Mon Sep 17 00:00:00 2001 From: Giancarlo Rubio Date: Mon, 12 Dec 2016 14:23:45 +0100 Subject: [PATCH] fix typo in variable ProxyRealIPCIDR --- controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl b/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl index 4c4845af36..672026d152 100644 --- a/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl +++ b/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl @@ -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;