From 41d344dd855b98a47c10237a378fbc5736cee2b8 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 6 Nov 2018 12:06:14 +0100 Subject: [PATCH] ansible-inventories/gentner#2234 Set x-real-ip also if backend varnish bigpipe is being used --- templates/haproxy_cfg.jinja2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/haproxy_cfg.jinja2 b/templates/haproxy_cfg.jinja2 index dd930d0..b8bce06 100644 --- a/templates/haproxy_cfg.jinja2 +++ b/templates/haproxy_cfg.jinja2 @@ -438,6 +438,7 @@ backend backend_varnish_bigpipe {% endif %} no option http-buffer-request option httpchk HEAD /varnishcheck + http-request set-header x-real-ip %[src] http-check expect status 200 option forwardfor hash-type consistent -- GitLab