diff options
Diffstat (limited to 'Caddyfile')
-rw-r--r-- | Caddyfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile index f69b86c..576a1d0 100644 --- a/Caddyfile +++ b/Caddyfile @@ -8,6 +8,11 @@ metrics } +http://www.alanpearce.eu { + header Cache-Control max-age=31536000 + redir https://alanpearce.eu{uri} +} + http://alanpearce.eu { root * {$SITE_ROOT} file_server { |