ignore bad conf file

Frank Liu gfrankliu at gmail.com
Tue Nov 3 21:23:25 UTC 2015


Hi all,

Is there a way to configure nginx to ignore bad conf files?
My master nginx.conf has a include elsewhere/*.conf towards the end. Other
people and programs can drop new configs into "elsewhere" directory. nginx
reloads and all is great. Sometimes if one guy drops a conf file with a
typo or syntax error, nginx will refuse to reload all other configs
afterwards. Is it possible to configure nginx to skip the bad file and move
on to next *.conf?

Thanks!
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151103/3994cf15/attachment.html>


More information about the nginx mailing list