Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jacobbudin
· 10y ago · 0 comments
If you have nginx installed, you can test nginx configurations like so: $ nginx -t -c <configuration file>
Comments
[–]
ben_jones
10y ago
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!
[–]
icebraining
10y ago
Ansible also has --syntax-check and even --check, which "tries to predict some of the changes that may occur".