diff options
Diffstat (limited to 'Caddyfile')
-rw-r--r-- | Caddyfile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,7 +9,7 @@ } http://localhost:8080 { - root * public + root * zig-out import robots @@ -18,6 +18,9 @@ http://localhost:8080 { env NOTIFICATION_ADDRESS=martin@mfashby.net SMTP_SERVER=mail.mfashby.net:587 SMTP_USERNAME=comments@mfashby.net SMTP_PASSWORD=foobar DATABASE_URL=postgresql://localhost/comments } + # Treat posts as home + redir / /posts/ temporary + # Redirects for old assets redir /10-11-21-longboard-slides.mp4 /assets/10-11-21-longboard-slides.mp4 permanent redir /apex_1.jpg /assets/apex_1.jpg permanent |