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:
Ian Wienand 2022-03-08 09:46:59 +11:00
parent 4061acd3e7
commit c9b580cc0d
1 changed files with 1 additions and 1 deletions

View File

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