From 9452bef415d61cceff15a6f3cc88cc624e9cb0c7 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Fri, 10 Jul 2020 17:02:39 +0200 Subject: Add empty health file This commit adds an empty file to be served at /health to be queried by monitoring and reverse proxy such that I can filter their access from the access logs. --- site.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site.hs') diff --git a/site.hs b/site.hs index fcf617d..118eb34 100644 --- a/site.hs +++ b/site.hs @@ -7,7 +7,7 @@ import System.FilePath.Posix ((), (<.>), splitExtension, splitFileName, takeD main :: IO () main = hakyllWith hakyllConfig $ do - match ("images/*" .||. "files/*" .||. "robots.txt") $ do + match ("images/*" .||. "files/*" .||. "robots.txt" .||. "health") $ do route idRoute compile copyFileCompiler -- cgit v1.2.3