Add health check for my website
This commit is contained in:
parent
0a1c433a88
commit
bf8bed3879
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue