config issue

Matthew Ngaha chigga101 at gmail.com
Thu Jan 9 19:03:49 UTC 2014


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:

     sudo ln -s ~/path/to/your/mysite/mysite_nginx.conf
/etc/nginx/sites-enabled/

The problem is this folder doesn't exist: /etc/nginx/sites-enabled/

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.

What can i do to make nginx see my django project's config file?



More information about the nginx mailing list