summaryrefslogtreecommitdiffstatshomepage
path: root/Caddyfile
diff options
context:
space:
mode:
authorWolfgang Müller2021-05-16 20:47:49 +0200
committerWolfgang Müller2021-05-16 20:47:49 +0200
commit95afc0ba01822234d8572502b728c9c1d1ac4332 (patch)
treed2505f0735f266f12d0cf578755722ce96468c49 /Caddyfile
parent28c24731b863f446a459e0c2c3b06d5ce072dcb3 (diff)
downloadsite-95afc0ba01822234d8572502b728c9c1d1ac4332.tar.gz
Add a basic Caddyfile
Until now we were using a system-wide httpd, making changes to its configuration file a bit onerous. Instead include a small Caddyfile we can use together with a call to 'caddy run' for local development.
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
new file mode 100644
index 0000000..f5cb3a2
--- /dev/null
+++ b/Caddyfile
@@ -0,0 +1,4 @@
+http://localhost:2001 {
+ file_server
+ try_files {path}.html {path}
+}