We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aadfda commit 37869a7Copy full SHA for 37869a7
openshift-setup/router-template.cfg
@@ -409,7 +409,8 @@ backend be_secure:{{$cfgIdx}}
409
410
{{/* set X-LAGOON header if it is not already */}}
411
acl h_xlagoon_exists res.hdr(X-LAGOON) -m found
412
- http-response set-header X-LAGOON {{env "HOSTNAME" }}>{{$cfgIdx}} unless h_xlagoon_exists
+ http-response set-header X-LAGOON {{$cfgIdx}} unless h_xlagoon_exists
413
+ http-response replace-value X-LAGOON (.*) {{env "HOSTNAME"}}>\1
414
415
{{- if matchPattern "(v4)?v6" $router_ip_v4_v6_mode }}
416
# See the quoting rules in https://tools.ietf.org/html/rfc7239 for IPv6 addresses (v4 addresses get translated to v6 when in hybrid mode)
0 commit comments