global # Drop resource limit checks to mitigate https://issues.redhat.com/browse/OCPBUGS-21803 in HAProxy 2.6. no strict-limits maxconn 50000 nbthread 4 daemon ca-base /etc/ssl crt-base /etc/ssl # TODO: Check if we can get reload to be faster by saving server state. # server-state-file /var/lib/haproxy/run/haproxy.state stats socket /var/lib/haproxy/run/haproxy.sock mode 600 level admin expose-fd listeners stats timeout 2m # Increase the default request size to be comparable to modern cloud load balancers (ALB: 64kb), affects # total memory use when large numbers of connections are open. # In OCP 4.8, this value is adjustable via the IngressController API. # Cluster administrators are still encouraged to use the default values provided below. tune.maxrewrite 8192 tune.bufsize 32768 # Configure the TLS versions we support ssl-default-bind-options ssl-min-ver TLSv1.2 # The default cipher suite can be selected from the three sets recommended by https://wiki.mozilla.org/Security/Server_Side_TLS, # or the user can provide one using the ROUTER_CIPHERS environment variable. # By default when a cipher set is not provided, intermediate is used. # user provided list of ciphers (Colon separated list as seen above) # the env default is not used here since we can't get here with empty ROUTER_CIPHERS tune.ssl.default-dh-param 2048 ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384 ssl-default-bind-ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256 defaults maxconn 50000 # To configure custom default errors, you can either uncomment the # line below (server ... 127.0.0.1:8080) and point it to your custom # backend service or alternatively, you can send a custom 503 or 404 error. # # server openshift_backend 127.0.0.1:8080 errorfile 503 /var/lib/haproxy/conf/error-page-503.http errorfile 404 /var/lib/haproxy/conf/error-page-404.http timeout connect 5s timeout client 30s timeout client-fin 1s timeout server 30s timeout server-fin 1s timeout http-request 10s timeout http-keep-alive 300s # Long timeout for WebSocket connections. timeout tunnel 1h frontend public bind :80 mode http option idle-close-on-response tcp-request inspect-delay 5s tcp-request content accept if HTTP monitor-uri /_______internal_router_healthz # Mitigate CVE-2023-40225 (Proxy forwards malformed empty Content-Length headers) http-request deny if { hdr_len(content-length) 0 } # Strip off Proxy headers to prevent HTTpoxy (https://httpoxy.org/) http-request del-header Proxy # DNS labels are case insensitive (RFC 4343), we need to convert the hostname into lowercase # before matching, or any requests containing uppercase characters will never match. http-request set-header Host %[req.hdr(Host),lower] # check if we need to redirect/force using https. acl secure_redirect base,map_reg_int(/var/lib/haproxy/conf/os_route_http_redirect.map) -m bool redirect scheme https if secure_redirect use_backend %[base,map_reg(/var/lib/haproxy/conf/os_http_be.map)] default_backend openshift_default # public ssl accepts all connections and isn't checking certificates yet certificates to use will be # determined by the next backend in the chain which may be an app backend (passthrough termination) or a backend # that terminates encryption in this router (edge) frontend public_ssl bind :443 tcp-request inspect-delay 5s tcp-request content accept if { req_ssl_hello_type 1 } # if the connection is SNI and the route is a passthrough don't use the termination backend, just use the tcp backend # for the SNI case, we also need to compare it in case-insensitive mode (by converting it to lowercase) as RFC 4343 says acl sni req.ssl_sni -m found acl sni_passthrough req.ssl_sni,lower,map_reg(/var/lib/haproxy/conf/os_sni_passthrough.map) -m found use_backend %[req.ssl_sni,lower,map_reg(/var/lib/haproxy/conf/os_tcp_be.map)] if sni sni_passthrough # if the route is SNI and NOT passthrough enter the termination flow use_backend be_sni if sni # non SNI requests should enter a default termination backend rather than the custom cert SNI backend since it # will not be able to match a cert to an SNI host default_backend be_no_sni ########################################################################## # TLS SNI # # When using SNI we can terminate encryption with custom certificates. # Certs will be stored in a directory and will be matched with the SNI host header # which must exist in the CN of the certificate. Certificates must be concatenated # as a single file (handled by the plugin writer) per the haproxy documentation. # # Finally, check re-encryption settings and re-encrypt or just pass along the unencrypted # traffic ########################################################################## backend be_sni server fe_sni unix@/var/lib/haproxy/run/haproxy-sni.sock weight 1 send-proxy frontend fe_sni # terminate ssl on edge bind unix@/var/lib/haproxy/run/haproxy-sni.sock ssl crt /var/lib/haproxy/router/certs/default.pem crt-list /var/lib/haproxy/conf/cert_config.map accept-proxy no-alpn mode http option idle-close-on-response # Mitigate CVE-2023-40225 (Proxy forwards malformed empty Content-Length headers) http-request deny if { hdr_len(content-length) 0 } # Strip off Proxy headers to prevent HTTpoxy (https://httpoxy.org/) http-request del-header Proxy # DNS labels are case insensitive (RFC 4343), we need to convert the hostname into lowercase # before matching, or any requests containing uppercase characters will never match. http-request set-header Host %[req.hdr(Host),lower] # map to backend # Search from most specific to general path (host case). # Note: If no match, haproxy uses the default_backend, no other # use_backend directives below this will be processed. use_backend %[base,map_reg(/var/lib/haproxy/conf/os_edge_reencrypt_be.map)] default_backend openshift_default ########################################################################## # END TLS SNI ########################################################################## ########################################################################## # TLS NO SNI # # When we don't have SNI the only thing we can try to do is terminate the encryption # using our wild card certificate. Once that is complete we can either re-encrypt # the traffic or pass it on to the backends ########################################################################## # backend for when sni does not exist, or ssl term needs to happen on the edge backend be_no_sni server fe_no_sni unix@/var/lib/haproxy/run/haproxy-no-sni.sock weight 1 send-proxy frontend fe_no_sni # terminate ssl on edge bind unix@/var/lib/haproxy/run/haproxy-no-sni.sock ssl crt /var/lib/haproxy/router/certs/default.pem accept-proxy no-alpn mode http option idle-close-on-response # Mitigate CVE-2023-40225 (Proxy forwards malformed empty Content-Length headers) http-request deny if { hdr_len(content-length) 0 } # Strip off Proxy headers to prevent HTTpoxy (https://httpoxy.org/) http-request del-header Proxy # DNS labels are case insensitive (RFC 4343), we need to convert the hostname into lowercase # before matching, or any requests containing uppercase characters will never match. http-request set-header Host %[req.hdr(Host),lower] # map to backend # Search from most specific to general path (host case). # Note: If no match, haproxy uses the default_backend, no other # use_backend directives below this will be processed. use_backend %[base,map_reg(/var/lib/haproxy/conf/os_edge_reencrypt_be.map)] default_backend openshift_default ########################################################################## # END TLS NO SNI ########################################################################## backend openshift_default mode http option forwardfor #option http-keep-alive option http-pretend-keepalive ##-------------- app level backends ---------------- # Secure backend, pass through backend be_tcp:openshift-authentication:oauth-openshift balance source hash-type consistent timeout check 5000ms server pod:oauth-openshift-65b5c9bf6b-s2qsn:oauth-openshift:https:10.128.0.107:6443 10.128.0.107:6443 weight 1 # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openshift-console:console mode http option redispatch option forwardfor balance random timeout server 5m timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 1e2670d92730b515ce3a1bb65da45062 insert indirect nocache httponly secure attr SameSite=None server pod:console-5c6b7b7b5c-jwfc2:console:https:10.128.0.144:8443 10.128.0.144:8443 cookie fd73732cf8d7884d5f3d9280b70ff271 weight 1 ssl verifyhost console.openshift-console.svc verify required ca-file /var/run/configmaps/service-ca/service-ca.crt # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_edge_http:openshift-console:downloads mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie a663438294fbd72a8e16964e97c8ecde insert indirect nocache httponly secure attr SameSite=None server pod:downloads-6f5db8559b-xzb5p:downloads:http:10.128.0.102:8080 10.128.0.102:8080 cookie 6a381f555fde733478cf162651ba18c7 weight 1 # Secure backend, pass through backend be_tcp:openshift-ingress-canary:canary balance roundrobin hash-type consistent timeout check 5000ms server pod:ingress-canary-qsfnw:ingress-canary:8443-tcp:10.128.0.73:8443 10.128.0.73:8443 weight 1 # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openshift-monitoring:alertmanager-main mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 4e2f052a85d89824d1855ef94e095b2b insert indirect nocache httponly secure attr SameSite=None server pod:alertmanager-main-0:alertmanager-main:web:10.128.0.110:9095 10.128.0.110:9095 cookie bf7584f175da5e0d214467a51ea699ff weight 1 ssl verifyhost alertmanager-main.openshift-monitoring.svc verify required ca-file /var/run/configmaps/service-ca/service-ca.crt # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openshift-monitoring:prometheus-k8s mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 97f6663f1252f61343f526ad937cfc1a insert indirect nocache httponly secure attr SameSite=None server pod:prometheus-k8s-0:prometheus-k8s:web:10.128.0.113:9091 10.128.0.113:9091 cookie 5162b4a91300eed5ecac44eb2f06977e weight 1 ssl verifyhost prometheus-k8s.openshift-monitoring.svc verify required ca-file /var/run/configmaps/service-ca/service-ca.crt # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openshift-monitoring:prometheus-k8s-federate mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 55cbf826fb5b0c929ec0c03819d877e5 insert indirect nocache httponly secure attr SameSite=None server pod:prometheus-k8s-0:prometheus-k8s:web:10.128.0.113:9091 10.128.0.113:9091 cookie 5162b4a91300eed5ecac44eb2f06977e weight 1 ssl verifyhost prometheus-k8s.openshift-monitoring.svc verify required ca-file /var/run/configmaps/service-ca/service-ca.crt # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openshift-monitoring:thanos-querier mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie ee4d5f50aeaffc63a5a5fc30a3072a27 insert indirect nocache httponly secure attr SameSite=None server pod:thanos-querier-f59c45d65-v6hb2:thanos-querier:web:10.128.0.94:9091 10.128.0.94:9091 cookie 5e6b7ea6bb4f0cae16e26971a48c20ca weight 1 ssl verifyhost thanos-querier.openshift-monitoring.svc verify required ca-file /var/run/configmaps/service-ca/service-ca.crt # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:aodh-public mode http option redispatch option forwardfor balance random timeout server 60s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie a15b0e108dee5709674baee559a4752c insert indirect nocache httponly secure attr SameSite=None server pod:aodh-0:aodh-public:aodh-public:10.128.1.48:8042 10.128.1.48:8042 cookie cf31468be04a505277260e43a706bd34 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:aodh-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:barbican-public mode http option redispatch option forwardfor balance random timeout server 90s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 26143d0f291cd9b4e66c7897d0d06c3c insert indirect nocache httponly secure attr SameSite=None server pod:barbican-api-56565586f6-z78xs:barbican-public:barbican-public:10.128.0.246:9311 10.128.0.246:9311 cookie ccb6714ed2d413c7cf9f9e3ce26b2b8b weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:barbican-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:cinder-public mode http option redispatch option forwardfor balance random timeout server 60s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 33e2d45401feb6ecb7f87041ac073655 insert indirect nocache httponly secure attr SameSite=None server pod:cinder-baebb-api-0:cinder-public:cinder-public:10.128.0.247:8776 10.128.0.247:8776 cookie a2322387761086a9e70096083c0790af weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:cinder-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:glance-default-public mode http option redispatch option forwardfor balance random timeout server 60s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie c27908ff53cf87cdb033d6a54ac4cb8e insert indirect nocache httponly secure attr SameSite=None server pod:glance-baebb-default-external-api-0:glance-default-public:glance-default-public:10.128.1.17:9292 10.128.1.17:9292 cookie 664372062ef1dff6e67becbeb07f4f87 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:glance-default-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:heat-api-public mode http option redispatch option forwardfor balance random timeout server 600s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie fca5068b2cc9222a9579546247ab94fd insert indirect nocache httponly secure attr SameSite=None server pod:heat-api-578bc969b7-l5g64:heat-api-public:heat-api-public:10.128.1.15:8004 10.128.1.15:8004 cookie 6479b862e0848a8e3e2686f66d927d07 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:heat-api-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:heat-cfnapi-public mode http option redispatch option forwardfor balance random timeout server 600s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 82fca24613122f4225b1434bce50a48f insert indirect nocache httponly secure attr SameSite=None server pod:heat-cfnapi-687b5cdd65-qsjb4:heat-cfnapi-public:heat-cfnapi-public:10.128.1.16:8000 10.128.1.16:8000 cookie ee98534cec37e9503a536d453e22c5a1 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:heat-cfnapi-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:keystone-public mode http option redispatch option forwardfor balance random timeout server 60s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie b5697f82cf3c19ece8be533395142512 insert indirect nocache httponly secure attr SameSite=None server pod:keystone-6bf95cb78d-jt2z5:keystone-public:keystone-public:10.128.0.235:5000 10.128.0.235:5000 cookie 67581a8623fde47370e1829782298a04 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:keystone-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:neutron-public mode http option redispatch option forwardfor balance random timeout server 120s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 38cec1d9c789c59243203143f8ef839e insert indirect nocache httponly secure attr SameSite=None server pod:neutron-56f6c98b97-zjmbp:neutron-public:neutron-public:10.128.0.234:9696 10.128.0.234:9696 cookie 90aaef6652d2f63e77aed53596516f19 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:neutron-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:nova-novncproxy-cell1-public mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie a73a87c057a3561705860aa1e8d4d32f insert indirect nocache httponly secure attr SameSite=None server pod:nova-cell1-novncproxy-0:nova-novncproxy-cell1-public:nova-novncproxy-cell1-public:10.128.1.44:6080 10.128.1.44:6080 cookie 5af4b2c789a842b5dbe9d0c86b388355 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:nova-novncproxy-cell1-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:nova-public mode http option redispatch option forwardfor balance random timeout server 60s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 0dc6017b143850df8350099417b4ec9f insert indirect nocache httponly secure attr SameSite=None server pod:nova-api-0:nova-public:nova-public:10.128.1.49:8774 10.128.1.49:8774 cookie 290d84193dc5abb64fcf881baeaef16c weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:nova-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:octavia-public mode http option redispatch option forwardfor balance random timeout server 120s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 8bd08ef9a33f1b163c825e6cba69ceff insert indirect nocache httponly secure attr SameSite=None server pod:octavia-api-79b888857f-grgwt:octavia-public:octavia-public:10.128.1.64:9876 10.128.1.64:9876 cookie 62d238a6401520c0466534f75023c119 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:octavia-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:placement-public mode http option redispatch option forwardfor balance random timeout server 60s timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie a0787c90e7299024e7525b97b3d9ea96 insert indirect nocache httponly secure attr SameSite=None server pod:placement-7864d79866-k7zqf:placement-public:placement-public:10.128.0.236:8778 10.128.0.236:8778 cookie 3283853e8b0f4f14706d90bbb9374006 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:placement-public.pem # Plain http backend or backend with TLS terminated at the edge or a # secure backend with re-encryption. backend be_secure:openstack:swift-public mode http option redispatch option forwardfor balance random timeout check 5000ms http-request add-header X-Forwarded-Host %[req.hdr(host)] http-request add-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto http if !{ ssl_fc } http-request add-header X-Forwarded-Proto https if { ssl_fc } http-request add-header X-Forwarded-Proto-Version h2 if { ssl_fc_alpn -i h2 } http-request add-header Forwarded for=%[src];host=%[req.hdr(host)];proto=%[req.hdr(X-Forwarded-Proto)] cookie 8555ec7bc3b761f9a531b621867c3563 insert indirect nocache httponly secure attr SameSite=None server pod:swift-proxy-65dc9c979b-4jgcr:swift-public:swift-public:10.128.0.253:8080 10.128.0.253:8080 cookie c807189fc0c914ecde92122c9be56887 weight 1 ssl verify required ca-file /var/lib/haproxy/router/cacerts/openstack:swift-public.pem