From 95afc0ba01822234d8572502b728c9c1d1ac4332 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 16 May 2021 20:47:49 +0200 Subject: 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. --- Caddyfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Caddyfile 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} +} -- cgit v1.2.3-2-gb3c3