ignore bad conf file
luky-37 at hotmail.com
Wed Nov 4 16:03:06 UTC 2015
> Hi all,
> Is there a way to configure nginx to ignore bad conf files?
No, that would lead to inconsistencies all over the place.
> 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.
Nginx is supposed to roll back in this case , are your reloading (HUP)
In any case, testing the config first is what you should do.
More information about the nginx