File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
images/router/haproxy/conf Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ backend be_secure:{{$cfgIdx}}
359
359
http-request set-header X-Forwarded-Proto https if { ssl_fc }
360
360
{{- if matchPattern "(v4)?v6" $router_ip_v4_v6_mode }}
361
361
# See the quoting rules in https://tools.ietf.org/html/rfc7239 for IPv6 addresses (v4 addresses get translated to v6 when in hybrid mode)
362
- http-request set-header Forwarded for="[%[src]]";host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)]
362
+ http-request set-header Forwarded for=\ "[%[src]]\ ";host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)]
363
363
{{- else }}
364
364
http-request set-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)]
365
365
{{- end }}
You can’t perform that action at this time.
0 commit comments