58 lines
822 B
YAML
58 lines
822 B
YAML
delay: 4
|
|
debug: true
|
|
events: [service, node]
|
|
docker:
|
|
socketPath: /var/run/docker.sock
|
|
rproxy:
|
|
hosts:
|
|
- rproxy1.local
|
|
- rproxy2.local
|
|
auth:
|
|
username: root
|
|
privateKey: /root/.ssh/id_rsa
|
|
confDir: /etc/haproxy
|
|
reloadCmd: service haproxy reload
|
|
acls:
|
|
public:
|
|
ips:
|
|
- 0.0.0.0/0
|
|
zones:
|
|
- public
|
|
private:
|
|
ips:
|
|
- 10.0.0.0/8
|
|
- 172.16.0.0/12
|
|
- 192.168.0.0/16
|
|
zones:
|
|
- private
|
|
it:
|
|
ips:
|
|
- 10.5.2.0/24
|
|
zones:
|
|
- it
|
|
sysadmin:
|
|
ips:
|
|
- 10.5.1.0/24
|
|
zones: all
|
|
dmz:
|
|
ips:
|
|
- 10.0.0.0/16
|
|
zones: all
|
|
defaults:
|
|
https: true
|
|
zone: public
|
|
domains:
|
|
domain.local:
|
|
foo:
|
|
rules:
|
|
- foo
|
|
- domain:
|
|
- foo1
|
|
- foo2
|
|
path:
|
|
- /foo
|
|
- /bar
|
|
https: false
|
|
zone: dmz
|
|
bar:
|