gitea-haproxy: issue liveness check to HEAD /
By default this sends OPTIONS /, which apache rejects with an error. Change-Id: Ie5d55b2a2d96a78b34d23cc6fbac62900a23fc37
This commit is contained in:
parent
4061acd3e7
commit
c9b580cc0d
@ -27,7 +27,7 @@ listen {{ listener.name }}
|
||||
{% endfor %}
|
||||
mode tcp
|
||||
balance source
|
||||
option httpchk
|
||||
option httpchk HEAD /
|
||||
|
||||
{% for server in listener.servers %}
|
||||
server {{ server.name }} {{ server.address }} {{ server.check_method }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user