Created
September 2, 2025 09:45
-
-
Save muhamad-ridwant-tech/a12d8fd9e709b295e9620488e0364886 to your computer and use it in GitHub Desktop.
HAProxy Config for Microcloud LXD Dashboard
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
| global | |
| log /dev/log local0 | |
| log /dev/log local1 notice | |
| maxconn 2048 | |
| user haproxy | |
| group haproxy | |
| daemon | |
| tune.ssl.default-dh-param 2048 | |
| defaults | |
| log global | |
| mode tcp | |
| option tcplog | |
| option dontlognull | |
| timeout connect 10s | |
| timeout client 1m | |
| timeout server 1m | |
| retries 3 | |
| frontend microcloud_frontend | |
| bind *:443 | |
| mode tcp | |
| option tcplog | |
| default_backend microcloud_backend | |
| backend microcloud_backend | |
| mode tcp | |
| balance leastconn | |
| option tcp-check | |
| default-server check inter 5s fall 3 rise 2 | |
| server MicroCloud-01 192.168.100.102:8443 | |
| server MicroCloud-01 192.168.100.103:8443 | |
| server MicroCloud-01 192.168.100.104:8443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment