Created
June 4, 2021 09:20
-
-
Save cuu508/2d3abe1551d8b06f6be70c8e48b5a9b1 to your computer and use it in GitHub Desktop.
Caddyfile which pings hc-ping.com every 5 minutes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:8081 { | |
reverse_proxy /secret/ hc-ping.com { | |
health_uri /8bc796e2-bbd5-4956-8e36-5f7f836b1696 | |
health_interval 5m | |
health_headers { | |
Host hc-ping.com | |
} | |
} | |
respond "Hello world" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment