Welcome! Log In Create A New Profile

Advanced

Re: config issue

Francis Daly
January 09, 2014 02:30PM
On Thu, Jan 09, 2014 at 07:03:49PM +0000, Matthew Ngaha wrote:

Hi there,

> Im trying to set up nginx with django. This is the instruction given:
>
> Symlink to this file from /etc/nginx/sites-enabled so nginx can see it:

That instruction assumes that the nginx config file that is being used
already has something like "include /etc/nginx/sites-enabled/*conf",
so that every matching file will be processed.

Apparently that's not true in this case.

> my only nginx folder is in "/usr/local/nginx" so i don't know what to
> do (I'm on ubuntu btw.) I've tried including the file it wanted me to
> symlink, into my nginx.conf via an "Include" statement but everytime i
> reload nginx, this Include action is causing an error.

"include" is the correct directive to use.

Documentation at http://nginx.org/r/include, in case anything is unclear.

Hopefully the words of the error will be enough to let you find how to
overcome it.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

config issue

Matthew Ngaha January 09, 2014 02:04PM

Re: config issue

Francis Daly January 09, 2014 02:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 206
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready