caddy-yaml
caddy-yaml copied to clipboard
Alternative Caddy YAML config adapter with extra features
The main contribution here is in the last commit: Instead of producing invalid template content and an error that is very misleading (see also #1), it now produces a _warning_...
I wanted to try out this adapter. I used a little utility to convert the json to yaml. Tried it out and got this error: ``` {"level":"info","ts":1611044403.9202049,"msg":"using provided configuration","config_file":"/config.yml","config_adapter":"yaml"} run:...
Config in YAML: ```--- apps: http: servers: srv0: listen: - ":443" routes: - match: - host: - sub.example.com - handle: - handler: encode encodings: gzip: level: 9 zstd: prefer: -...
Full error message: `run: adapting config using yaml: template: yaml:3: undefined variable "$affinity"` Config which does not contain that variable: ``` apps: layer4: servers: mdath: listen: - "127.0.0.1:443" routes: -...
Hi! Could you please provide an example of using `forward_auth`? When I try to use it, I get the following error: ``` caddy | Error: loading initial config: loading new...
This looks highly useful for me . Does this need some updating to work with the current caddy version though ?