6 ms·
If you have nginx installed, you can test nginx configurations like so: $ nginx -t -c <configuration file>
by jacobbudin 10y ago
If you have nginx installed, you can test nginx configurations like so:
$ nginx -t -c <configuration file>
- icebraining 10y agoAnsible also has --syntax-check and even --check, which "tries to predict some of the changes that may occur".
- ben_jones 10y agoI 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!