Command line option to validate configuration
The behavior should be:
- Open/parse/validate configuration
- If it succeeds, exit zero
- If it fails, exit non-zero
- Would probably also be nice to print some error messages explaining why it failed
For prior art, there's nginx -t
.
Suggested by @antifuchs:asf.computer
.
Edited by Charles Hall