excess0680

joined 6 months ago
[–] excess0680@lemmy.world 2 points 6 days ago

Incredible yet accurate analogy

[–] excess0680@lemmy.world 16 points 2 weeks ago* (last edited 2 weeks 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 args that may be necessary but that should be an adequate first step.