diff options
| author | Robert Günzler <r@gnzler.io> | 2026-10-02 10:33:53 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-10-02 10:45:00 +0200 |
| commit | 3c588cb48d4d3026c8a00faa8732c0655328e63c (patch) | |
| tree | 535ea33bf7fbd30e0fef1ebbf2a5c975418d5f14 /Caddyfile | |
| parent | f8a7a9ab00efe774f28f8f3211aef90a9abfc6be (diff) | |
| download | site-3c588cb48d4d3026c8a00faa8732c0655328e63c.tar.gz | |
*
Automated-commit-by: commitall Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rw-r--r-- | Caddyfile.valid_paths | 9 | ||||
| -rw-r--r-- | site/Caddyfile (renamed from Caddyfile) | 5 |
2 files changed, 1 insertions, 13 deletions
diff --git a/Caddyfile.valid_paths b/Caddyfile.valid_paths deleted file mode 100644 index 47d13ba..0000000 --- a/Caddyfile.valid_paths +++ /dev/null @@ -1,9 +0,0 @@ -path / -path /~* -path /humans.txt -path /index.html -path /robots.txt -path /links/* -path /media/* -path /site/* -path /map/* diff --git a/Caddyfile b/site/Caddyfile index b2997b4..ed34a69 100644 --- a/Caddyfile +++ b/site/Caddyfile @@ -19,10 +19,7 @@ http:// { file_server } - @valid_paths { - import Caddyfile.valid_paths - } - handle @valid_paths { + handle "*" { root . try_files {path} {path}/index.html {path}.html =404 file_server |