feature: enable admin mode and customize peer name
This commit is contained in:
parent
d5a552cef4
commit
58cd131a32
@ -25,6 +25,7 @@ listen stats
|
|||||||
stats uri /stats
|
stats uri /stats
|
||||||
stats refresh 30s
|
stats refresh 30s
|
||||||
stats realm Haproxy\ Statistics
|
stats realm Haproxy\ Statistics
|
||||||
|
stats admin if TRUE
|
||||||
stats auth admin:$ADMIN_PASSWORD
|
stats auth admin:$ADMIN_PASSWORD
|
||||||
|
|
||||||
frontend k8s-https
|
frontend k8s-https
|
||||||
@ -40,6 +41,6 @@ listen stats
|
|||||||
mode tcp
|
mode tcp
|
||||||
option tcp-check
|
option tcp-check
|
||||||
default-server inter 10s downinter 5s rise 2 fall 2 slowstart 60s maxconn 250 maxqueue 256 weight 100
|
default-server inter 10s downinter 5s rise 2 fall 2 slowstart 60s maxconn 250 maxqueue 256 weight 100
|
||||||
server peer-0 $PEER_0 check
|
server $PEER_0_NAME $PEER_0 check
|
||||||
server peer-1 $PEER_1 check
|
server $PEER_1_NAME $PEER_1 check
|
||||||
server peer-2 $PEER_2 check
|
server $PEER_2_NAME $PEER_2 check
|
||||||
|
Loading…
Reference in New Issue
Block a user