gitea-haproxy: issue liveness check to HEAD /

By default this sends OPTIONS /, which apache rejects with an error.

Change-Id: Ie5d55b2a2d96a78b34d23cc6fbac62900a23fc37
changes/79/832379/1
Ian Wienand 11 months ago
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…
Cancel
Save