deprecated redirects

This commit is contained in:
do
2021-02-02 11:50:30 +01:00
parent f3c1bf67fe
commit 4c12caac32

View File

@@ -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