Add health check for my website

This commit is contained in:
Ivan R. 2024-11-17 23:19:46 +05:00
parent 0a1c433a88
commit bf8bed3879
Signed by: lumin
GPG key ID: E0937DC7CD6D3817

View file

@ -136,8 +136,10 @@ frontend authentik_ldap
backend comfycamp backend comfycamp
mode http mode http
option httpchk GET /health
http-check expect status 200
http-response set-header Onion-Location http://comfycgmgfvowbbw2ckkobuvk4cejo2e56uxrhznravxnrl7itftpkad.onion%[capture.req.uri] 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 backend mastodon
mode http mode http