nginx recreating default configuration files

Cliff Wells cliff at
Tue Mar 13 16:09:50 UTC 2012

On Tue, 2012-03-13 at 10:45 -0400, Bai Shen wrote:
> I'm not sure how or why this happened, but nginx recreating the
> default configuration files in the conf.d directory.  This caused it
> to attempt to bind to all interfaces on my server.
> Is there a way to prevent this from happening in the future?

Nginx doesn't ever write configuration files.  How did you install
Nginx?  My first guess is that you are using a non-official repository
(i.e. a PPA) and they pushed a new configuration.  


More information about the nginx mailing list