Corrected the regex used for the v4v6 env parsing
Before the v4v6 case was not correctly matching the regex so the Forwarded header was not correctly escaped for the v6 IP addresses.  This patch corrects the code to parse v4v6 properly.
Fixes bug (https://bugzilla.redhat.com/show_bug.cgi?id=1472976)
@@ -410,7 +410,7 @@ backend be_secure:{{$cfgIdx}}
http-request set-header X-Forwarded-Port %[dst_port]
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
http-request set-header X-Forwarded-Proto https if { ssl_fc }
- {{- if matchPattern "v6" $router_ip_v4_v6_mode }}
+ {{- if matchPattern "(v4)?v6" $router_ip_v4_v6_mode }}
# See the quoting rules in https://tools.ietf.org/html/rfc7239 for IPv6 addresses (v4 addresses get translated to v6 when in hybrid mode)
http-request set-header Forwarded for="[%[src]]";host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)]
{{- else }}
