3 ms·
Caddy maintainer here; could you be more specific about the usecases you think look like a nightmare? We're always looking to improve config ergonomics, but we
by francislavoie 2y ago
Caddy maintainer here; could you be more specific about the usecases you think look like a nightmare? We're always looking to improve config ergonomics, but we need specific feedback.
- stackskipton 2y agoFormer Caddy user here but we converted to Kubernetes and Ingress-Nginx replaced it. I wish we could have multiple config files that would get combined together at run time, bonus points for "All files ending with *.caddyfile in /dir" would get loaded. Why might you ask? GitOps. We kept Caddyfiles in Git, but JSON would get corrupted when being edited. If they were individual files, it probably would have resulted in less headache and easier maintenance.
- francislavoie 2y agoThat's already a thing! https://caddyserver.com/docs/caddyfile/directives/import https://caddyserver.com/docs/caddyfile/directives/import
- stackskipton 2y agoAnd somehow while reading the documentation, we all missed it. :FACEPALM: