6 ms·
Wait, file-server without arguments does dynamic content (templating)?! I assume that's just poorly phrased?
by e12e 3y ago
Wait, file-server without arguments does dynamic content (templating)?!
I assume that's just poorly phrased?
- mholt 3y agoTo clarify, you do need to use --templates to enable template evaluation on the static files. But for the `caddy respond` command, minimal templates are available by default; see the docs here: https://caddyserver.com/docs/command-line#examples https://caddyserver.com/docs/command-line#examples
- deleted 3y ago[deleted]
- skrebbel 3y agoOnly for directory listings I think. And of course you can turn that off as well.