File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
images/router/haproxy/conf Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ backend {{ genBackendNamePrefix $cfg.TLSTermination }}:{{ $cfgIdx }}
703703 {{- "" }} secure attr SameSite={{ $samesite }}
704704 {{- end }}
705705 {{- end }}
706+ {{- with $dynamicConfigManager }} dynamic
707+ {{- end }}
706708 {{- end }}{{/* end disable cookies check */}}
707709
708710 {{- if matchValues (print $cfg.TLSTermination) "edge" "reencrypt" }}
@@ -760,6 +762,7 @@ backend {{ genBackendNamePrefix $cfg.TLSTermination }}:{{ $cfgIdx }}
760762
761763 {{- with $dynamicConfigManager }}
762764 {{- if (eq $cfg.TLSTermination "reencrypt") }}
765+ dynamic-cookie-key {{ $cfg.RoutingKeyName }}
763766 {{- range $idx, $serverName := $dynamicConfigManager.GenerateDynamicServerNames $cfgIdx }}
764767 server {{ $serverName }} 172.4.0.4:8765 weight 0 ssl disabled check inter {{ firstMatch $timeSpecPattern (index $cfg.Annotations "router.openshift.io/haproxy.health.check.interval") (env "ROUTER_BACKEND_CHECK_INTERVAL") "5000ms" }}
765768 {{- if gt (len (index $cfg.Certificates (printf "%s_pod" $cfg.Host)).Contents) 0 }} verify required ca-file {{ $workingDir }}/router/cacerts/{{$cfgIdx }}.pem
You can’t perform that action at this time.
0 commit comments