[-] excess0680@lemmy.world 2 points 1 month ago

Incredible yet accurate analogy

[-] excess0680@lemmy.world 15 points 1 month ago* (last edited 1 month 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.

excess0680

joined 8 months ago