aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-03-25 21:36:21 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-03-25 21:36:21 +0000
commit92787c159262a57fa20b2eb05ed710e1e6cfca96 (patch)
tree508cab2af110a063767564571a98d157926bfb05 /Caddyfile
parente12c0d23ad72ffa9389d90311453db535f57e450 (diff)
downloadmfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.gz
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.bz2
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.tar.xz
mfashby.net-92787c159262a57fa20b2eb05ed710e1e6cfca96.zip
Final conversion to Zine
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Caddyfile b/Caddyfile
index 6c36dcb..433307a 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -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