diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg index 3692982..a688862 100644 --- a/haproxy/haproxy.cfg +++ b/haproxy/haproxy.cfg @@ -30,11 +30,13 @@ frontend fe_https acl host_routerosbackup hdr(host) -i routerosbackup.internal acl host_routerosupdate hdr(host) -i routerosupdate.internal acl host_sslmonitor hdr(host) -i sslmonitor.internal + acl host_portainer hdr(host) -i portainer.internal use_backend be_hosts if host_hosts use_backend be_routerosbackup if host_routerosbackup use_backend be_routerosupdate if host_routerosupdate use_backend be_sslmonitor if host_sslmonitor + use_backend be_portainer if host_portainer default_backend be_404 backend be_hosts @@ -49,5 +51,8 @@ backend be_routerosupdate backend be_sslmonitor server s1 ssl_monitor:5583 check +backend be_portainer + server s1 portainer:9000 check + backend be_404 http-request deny deny_status 404