From 73362a3bf988ff948fd4fe9ad43723ce8da563ee Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 6 Jul 2025 14:42:14 +1000 Subject: [PATCH] feat: add stick tables for gitea (#345) - stick tables are required for docker authentication Reviewed-on: https://git.unkin.net/unkin/puppet-prod/pulls/345 --- hieradata/country/au/region/syd1/infra/halb/haproxy2.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hieradata/country/au/region/syd1/infra/halb/haproxy2.yaml b/hieradata/country/au/region/syd1/infra/halb/haproxy2.yaml index 1177466..952ddeb 100644 --- a/hieradata/country/au/region/syd1/infra/halb/haproxy2.yaml +++ b/hieradata/country/au/region/syd1/infra/halb/haproxy2.yaml @@ -236,6 +236,8 @@ profiles::haproxy::backends: - set-header X-Forwarded-Port %[dst_port] - add-header X-Forwarded-Proto https if { dst_port 443 } redirect: 'scheme https if !{ ssl_fc }' + stick-table: 'type ip size 200k expire 30m' + stick: 'on src' profiles::haproxy::certlist::enabled: true profiles::haproxy::certlist::certificates: