Skip to content

Commit 6cebc0e

Browse files
author
OpenShift Bot
authored
Merge pull request #12802 from JacobTanenbaum/BZ1412591
Merged by openshift-bot
2 parents e92d661 + ddb865e commit 6cebc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/router/haproxy/conf/haproxy-config.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ backend be_edge_http_{{$cfgIdx}}
292292
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
293293
http-request set-header X-Forwarded-Proto https if { ssl_fc }
294294
{{ 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") }}
295+
{{ if and (eq $cfg.TLSTermination "edge") (ne $cfg.InsecureEdgeTerminationPolicy "Allow") }}
296296
cookie {{$cfg.RoutingKeyName}} insert indirect nocache httponly secure
297297
{{ else }}
298298
cookie {{$cfg.RoutingKeyName}} insert indirect nocache httponly

0 commit comments

Comments
 (0)