diff --git a/roles/haproxy/files/haproxy.cfg b/roles/haproxy/files/haproxy.cfg index e8fe6a3..b25805d 100644 --- a/roles/haproxy/files/haproxy.cfg +++ b/roles/haproxy/files/haproxy.cfg @@ -136,8 +136,10 @@ frontend authentik_ldap backend comfycamp mode http + option httpchk GET /health + http-check expect status 200 http-response set-header Onion-Location http://comfycgmgfvowbbw2ckkobuvk4cejo2e56uxrhznravxnrl7itftpkad.onion%[capture.req.uri] - server green comfycamp:4000 check + server s1 comfycamp:4000 check inter 15s backend mastodon mode http