File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ haproxy:
9999 bind:
100100 - "0.0.0.0:8998"
101101 mode: http
102+ options:
103+ - httpchk
104+ httpcheck: disable-on-404
102105 stats:
103106 enable: true
104107 uri: "/admin?stats"
@@ -109,11 +112,15 @@ haproxy:
109112 options:
110113 - forwardfor
111114 - http-server-close
115+ - httpchk
112116 defaultserver:
113117 slowstart: 60s
114118 maxconn: 256
115119 maxqueue: 128
116120 weight: 100
121+ httpchecks:
122+ - send-state
123+ - expect status 200
117124 servers:
118125 web1:
119126 host: web1.example.com
Original file line number Diff line number Diff line change @@ -79,6 +79,9 @@ haproxy:
7979 bind:
8080 - " 0.0.0.0:8998"
8181 mode: http
82+ options:
83+ - httpchk
84+ httpcheck: disable-on-404
8285 stats:
8386 enable: true
8487 uri: " /admin?stats"
@@ -89,11 +92,15 @@ haproxy:
8992 options:
9093 - forwardfor
9194 - http-server-close
95+ - httpchk
9296 defaultserver:
9397 slowstart: 60s
9498 maxconn: 256
9599 maxqueue: 128
96100 weight: 100
101+ httpchecks:
102+ - send-state
103+ - expect status 200
97104 servers:
98105 web1:
99106 host: web1.example.com
You can’t perform that action at this time.
0 commit comments