diff options
author | Wolfgang Müller | 2021-05-16 20:47:49 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-16 20:47:49 +0200 |
commit | 95afc0ba01822234d8572502b728c9c1d1ac4332 (patch) | |
tree | d2505f0735f266f12d0cf578755722ce96468c49 /Caddyfile | |
parent | 28c24731b863f446a459e0c2c3b06d5ce072dcb3 (diff) | |
download | site-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 '')
-rw-r--r-- | Caddyfile | 4 |
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} +} |