Comment on TIL - Caddy
excess0680@lemmy.world 1 week ago
If you’re using git to version Caddy configuration, you can use a pre-commit hook to test it, ensuring that you’ll never have invalid configuration. That’s what I do.
caddy --validate
There’s some extra command arts that may be necessary but that should be an adequate first step.