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 mode: http
stats: stats:
- enable - enable
- uri: '/admin?stats' - uri: '/haproxy-status'
- realm: 'Haproxy\ Statistics'
- auth: 'admin1:AdMiN123'
options: options:
- httplog - httplog
- dontlognull - dontlognull
@@ -110,11 +108,11 @@ haproxy:
listens: listens:
stats: stats:
bind: bind:
- "127.0.0.1:8998" - "127.0.0.1:9110"
mode: http mode: http
stats: stats:
enable: True enable: True
uri: "/admin?stats" uri: "/haproxy-status"
refresh: "20s" refresh: "20s"
frontends: frontends:
frontend1: frontend1:
@@ -139,6 +137,10 @@ haproxy:
backend1: backend1:
name: auto name: auto
balance: roundrobin balance: roundrobin
acls:
- deprecated path_beg /habpanel /paperui
redirect:
- location /lovelace if deprecated
servers: servers:
server1: server1:
name: auto02 name: auto02