all repos — website @ 519a5e51e28155f003d1c5a4c56db1fd6b80eeae

My website

Use a special file for health checks

This should remain a static file so that the static file functionality
of the server can be tested.  If it were a special case inside the
server router, it could potentially continue to operate whilst the
server otherwise no longer works
Alan Pearce alan@alanpearce.eu
Sun, 17 Sep 2023 07:56:42 +0200
commit

519a5e51e28155f003d1c5a4c56db1fd6b80eeae

parent

150234c3208b7bcc61fc9cf0291ab3ea7756a3c7

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M fly.tomlfly.toml
@@ -26,4 +26,4 @@ grace_period = "10s"   interval = "30s"
   method = "GET"
   timeout = "5s"
-  path = "/"
+  path = "/health.txt"
A static/health.txt
@@ -0,0 +1,1 @@+OK