aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
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
+}