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.
Description
Documentation site for Birdcage — Astro/Starlight
Languages
MDX
98.7%
JavaScript
0.5%
CSS
0.4%
Dockerfile
0.2%