aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
new file mode 100644
index 0000000..cd50616
--- /dev/null
+++ b/Caddyfile
@@ -0,0 +1,9 @@
+localhost {
+ root * .
+ encode gzip
+ file_server
+ templates
+ try_files {path}.html {path}
+ redir /content content/
+ rewrite /content/* content/index.html
+} \ No newline at end of file