Try using CaddyUnverified
cc7e3b9 parent: b2cc75a added
docs/site-documentation/Caddyfile +14 -0 | new file mode 100644 | ||
| @@ -0,0 +1,14 @@ | ||
| 1 | +:{$PORT} { | |
| 2 | + encode | |
| 3 | + | |
| 4 | + uri strip_prefix /documentation | |
| 5 | + | |
| 6 | + file_server { | |
| 7 | + root _site/documentation | |
| 8 | + index index.html | |
| 9 | + } | |
| 10 | + | |
| 11 | + handle /id*/ { | |
| 12 | + respond 404 | |
| 13 | + } | |
| 14 | +} | |
| new file mode 100644 | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | +:{$PORT} { | ||
| 2 | + encode | ||
| 3 | + | ||
| 4 | + uri strip_prefix /documentation | ||
| 5 | + | ||
| 6 | + file_server { | ||
| 7 | + root _site/documentation | ||
| 8 | + index index.html | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | + handle /id*/ { | ||
| 12 | + respond 404 | ||
| 13 | + } | ||
| 14 | +} | ||