aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorAlexander Kavon <hawk@alexkavon.com>2025-06-30 03:25:35 -0400
committerAlexander Kavon <hawk@alexkavon.com>2025-06-30 03:25:35 -0400
commit545a95243ec25a3d0bc160c9dc159386469da4ca (patch)
tree5d929f3617cc39202384af866e84eb703b43b488 /Caddyfile
parent17efaaa54ad02afef6c6a0020c3c4c30ebad7428 (diff)
move files into single dir
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Caddyfile b/Caddyfile
index 33bc4ff..27b58a4 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,6 +1,7 @@
:8080
-rewrite / /index
-redir /index /
try_files {path}.xml {path}.html
-file_server
+file_server {
+ index index.xml index.html
+ root static
+}