From 4c12caac324a3ddbf941418a686ab44fd0834f6a Mon Sep 17 00:00:00 2001 From: do Date: Tue, 2 Feb 2021 11:50:30 +0100 Subject: [PATCH] deprecated redirects --- base/hostconfig/auto02.sls | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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