summarylogtreecommitdiffstats
path: root/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Caddyfile b/Caddyfile
index d8b303be5292..8df7097eb565 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,8 +1,9 @@
-{
- storage file_system {
- root /var/lib/caddy2
- }
-}
-
-# config goes below
+# This is an example default caddy file that serves static files
+#
+# Refer to the Caddy docs for more information:
+# https://caddyserver.com/docs/
+:80 {
+ root * /usr/share/caddy
+ file_server
+}