We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e92d661 + ddb865e commit 6cebc0eCopy full SHA for 6cebc0e
images/router/haproxy/conf/haproxy-config.template
@@ -292,7 +292,7 @@ backend be_edge_http_{{$cfgIdx}}
292
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
293
http-request set-header X-Forwarded-Proto https if { ssl_fc }
294
{{ if not (matchPattern "true|TRUE" (index $cfg.Annotations "haproxy.router.openshift.io/disable_cookies")) }}
295
- {{ if and (eq $cfg.TLSTermination "edge") (eq $cfg.InsecureEdgeTerminationPolicy "None") }}
+ {{ if and (eq $cfg.TLSTermination "edge") (ne $cfg.InsecureEdgeTerminationPolicy "Allow") }}
296
cookie {{$cfg.RoutingKeyName}} insert indirect nocache httponly secure
297
{{ else }}
298
cookie {{$cfg.RoutingKeyName}} insert indirect nocache httponly
0 commit comments