diff options
author | Stefan Kreutz <mail@skreutz.com> | 2020-07-10 17:02:39 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2020-07-10 17:02:39 +0200 |
commit | 9452bef415d61cceff15a6f3cc88cc624e9cb0c7 (patch) | |
tree | a4c8088ee3e8a47bd908d3b43e59e5d4de86f07f /site.hs | |
parent | 234fa7a30befd5f56ab2de2e13586a078f9a9593 (diff) | |
download | blog-9452bef415d61cceff15a6f3cc88cc624e9cb0c7.tar |
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.
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |