Hacker News new | ask | show | jobs
by jacobbudin 3596 days ago
If you have nginx installed, you can test nginx configurations like so: $ nginx -t -c <configuration file>
2 comments

I still have to spin up the vm though to make sure changes to things like proxy settings won't affect me further down the stack. But thanks for the tip!
Ansible also has --syntax-check and even --check, which "tries to predict some of the changes that may occur".