Francis Daly francis at
Wed Dec 11 23:36:52 UTC 2013

On Wed, Dec 11, 2013 at 08:20:51PM +0000, Matthew Ngaha wrote:
> > On Tue, Dec 10, 2013 at 10:17:25PM +0000, Matthew Ngaha wrote:

> > That suggests that the configuration you are editing, and the
> > configuration that nginx is using, are not the same.

> /home/matthew/src/nginx-1.4.3/conf/nginx.conf
> /usr/local/nginx-1.4.3/conf/.nginx.conf.swp
> /usr/local/nginx-1.4.3/conf/nginx.conf
> /usr/local/nginx-1.4.3/conf/nginx.conf.default
> /usr/local/nginx-1.4.3/conf/nginx.conf~
> I wasn't aware of the 1st result returned so i also edited this conf
> file. But still no luck. I have no idea where to look for the file or
> how to pick a default one for nginx to always use:(

That's something you'll have to find.

"ps" with arguments may let you see which nginx binary is running,
and it might show you which config file it is reading (if it not the
compiled-in default).

Until you can reliably stop and start nginx, configuration changes
are pointless.

(Just changing the config file will do nothing, until you tell nginx to
read the changed config file.)

Good luck with it,

Francis Daly        francis at

More information about the nginx mailing list