For very tiny hooks, you might be able to get away with using request matchers[1] and respond[2].
[0]: https://caddy.community/t/missing-starlark-documentation/958...
[1]: https://caddyserver.com/docs/caddyfile/matchers
[2]: https://caddyserver.com/docs/caddyfile/directives/respond
For very tiny hooks, you might be able to get away with using request matchers[1] and respond[2].
[0]: https://caddy.community/t/missing-starlark-documentation/958...
[1]: https://caddyserver.com/docs/caddyfile/matchers
[2]: https://caddyserver.com/docs/caddyfile/directives/respond