[ECODP-dev] nginx configuration

Ian Murray ian.murray at okfn.org
Fri Dec 7 13:05:34 UTC 2012

Hi Bert,

/etc/nginx/conf.d/default : this is the configuration file as provided
by the nginx package.  It's originally called default.conf; but the
installation scripts rename it to default.
/etc/nginx/conf.d/default.conf : this is the configuration file in
use.  (Note: multiple frontend-installations will keep copying over
default with default.conf; so will end up with an ECODP-looking
configuration in "default", which is probably the source of the

Only those files in /etc/nginx/conf.d/ that match "*.conf" are
activated, this is due to this line in /etc/nginx/nginx.conf :

> include /etc/nginx/conf.d/*.conf;

So, "default" can be safely deleted if its presence is confusing; but
it's not having an effect on the nginx configuration.

 - Ian.

On 6 December 2012 23:07, Bert Van Nuffelen
<bert.van.nuffelen at tenforce.com> wrote:
> Hi Ian,
> after the installation of ckan/nginx we see 2 configuration files
> default and default.conf.
> Are both needed? Where do they come from?
> kind regards,
> Bert
> --
> Bert Van Nuffelen
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen

More information about the ecodp-dev mailing list