From 89956002f8bb93522f2734afe167fa5d958f4127 Mon Sep 17 00:00:00 2001 From: thermionic Date: Wed, 23 Nov 2022 16:04:50 +0000 Subject: [PATCH] Added tcp proxy for CIRA to HAProxy config --- docs/Example configs/haproxy-with-sni-sample.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/Example configs/haproxy-with-sni-sample.cfg b/docs/Example configs/haproxy-with-sni-sample.cfg index a1f23cad..456c7466 100644 --- a/docs/Example configs/haproxy-with-sni-sample.cfg +++ b/docs/Example configs/haproxy-with-sni-sample.cfg @@ -20,6 +20,17 @@ backend sni-back use-server gitlabSNI if gitlab-sni use-server mc-SNI if mc-sni server mc-SNI 10.1.1.10:1443 send-proxy-v2-ssl-cn + +frontend cira-tcp-front + bind 10.1.1.10:4433 + mode tcp + option tcplog + tcp-request inspect-delay 5s + default_backend mc-cira-back + +backend cira-tcp-back + mode tcp + server mc-cira 10.1.1.30:4433 frontend mc-front-HTTPS mode http