Documentation site for Birdcage — Astro/Starlight
try_files is a rewriter that runs before handlers in Caddy's directive order, rewriting /health to /index.html before handle /health matches. Wrapping try_files + file_server in a catch-all handle block makes it mutually exclusive with handle /health. |
||
|---|---|---|
| public | ||
| src | ||
| .env | ||
| .gitignore | ||
| astro.config.mjs | ||
| Caddyfile | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||