Hi, I wrote a custom http.handlers module for myself. I’m able to build it using xcaddy. caddy list-modules does show it as expected.
However, whenever I use its directive in my Caddyfile, I get the following:
Error: adapting config using caddyfile: parsing caddyfile tokens for ‘route’: unrecognized directive: redirectssh - are you sure your Caddyfile structure (nesting and braces) is correct?, at /etc/caddy/Caddyfile:131