Last active
November 27, 2025 16:34
-
-
Save mempirate/65beabccddf794c445520167a3e42360 to your computer and use it in GitHub Desktop.
HAProxy diff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/haproxy.cfg b/haproxy.cfg | |
| --- a/haproxy.cfg | |
| +++ b/haproxy.cfg | |
| @@ -52,6 +52,7 @@ | |
| frontend system | |
| bind *:5544 ssl crt /usr/local/etc/haproxy/certs/ strict-sni | |
| + http-request return status 200 content-type application/json string '{"system_api_port": 5554}' if { path /infoz } | |
| default_backend system_of | |
| frontend prometheus | |
| bind 127.0.0.1:8405 | |
| @@ -79,3 +80,13 @@ | |
| option httpchk GET /livez | |
| http-check expect status 200 | |
| server system_of1 127.0.0.1:5542 check inter 5s fall 3 rise 1 | |
| + | |
| +frontend system2 | |
| + mode tcp | |
| + bind *:5554 ssl crt /usr/local/etc/haproxy/certs/ ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256 ssl-min-ver TLSv1.3 | |
| + default_backend system2_backend | |
| + | |
| +backend system2_backend | |
| + mode tcp | |
| + log global | |
| + server system2_server 127.0.0.1:5552 check inter 5s fall 3 rise 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment