-
-
Save haproxytechblog/98b14d6b7862226aacaa1cce62268663 to your computer and use it in GitHub Desktop.
Announcing HAProxy Enterprise 3.2
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
| rhi-bgp dc1 | |
| hold-time 30 | |
| timeout connect 1s | |
| timeout open 5s | |
| timeout reconnect 1s | |
| timeout keepalive 10s | |
| timeout min-update-interval 3s | |
| timeout graceful-restart 5s | |
| log global | |
| local-id 192.168.0.101 | |
| local-as 65001 | |
| neighbor 192.168.0.1:179 as 65001 | |
| next-hop-ipv4 192.168.0.101 | |
| acl backend_is_up nbsrv(webservers) gt 0 | |
| rhi-announce addrs 192.168.1.10/32 if backend_is_up | |
| frontend www | |
| bind 192.168.1.10:80 name http | |
| bind 192.168.1.10:443 name https ssl crt site.pem | |
| default_backend webservers | |
| backend webservers | |
| server web1 192.168.0.102:80 check | |
| server web2 192.168.0.103:80 check |
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
| udp-lb dns | |
| acl local src 10.0.0.0/24 | |
| use-server dns1 if local | |
| use-server dns2 if !local | |
| server dns1 10.0.0.10:53 check | |
| server dns2 10.0.0.11:53 check | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment