3 ms·
Can't you just run a nginx -t to run the config test and see if it passes before you reload?
by dewey 8y ago
Can't you just run a nginx -t to run the config test and see if it passes before you reload?
- poooogles 8y agonginx does that already. The problem is it'll stop you being able to reload configuration on other bits of config. Once there's a config error nothing can reload. Limited blast radius don't really apply when it comes to nginx config errors (which given its origins is understandable). One error in one bit of config and it all stops.