diff --git a/base/hostconfig/auto02.sls b/base/hostconfig/auto02.sls index 1f58ba2..e8b3231 100644 --- a/base/hostconfig/auto02.sls +++ b/base/hostconfig/auto02.sls @@ -79,9 +79,7 @@ haproxy: mode: http stats: - enable - - uri: '/admin?stats' - - realm: 'Haproxy\ Statistics' - - auth: 'admin1:AdMiN123' + - uri: '/haproxy-status' options: - httplog - dontlognull @@ -110,11 +108,11 @@ haproxy: listens: stats: bind: - - "127.0.0.1:8998" + - "127.0.0.1:9110" mode: http stats: enable: True - uri: "/admin?stats" + uri: "/haproxy-status" refresh: "20s" frontends: frontend1: @@ -139,6 +137,10 @@ haproxy: backend1: name: auto balance: roundrobin + acls: + - deprecated path_beg /habpanel /paperui + redirect: + - location /lovelace if deprecated servers: server1: name: auto02