Welcome! Log In Create A New Profile

Advanced

Nginx as a localhost for my Django project/site -uWSGI

December 28, 2012 04:39AM
Hi, hope you all 're fine.
I wanted to test Nginx, so I installed it on my machine (running Ubuntu 12.10) and it's running fine.
My question is (to any Django expert here), as Django projects/sites don't have index.html index.php or anything, so what should be used/set as 'index' in nginx configuration. I have set the URL path, by typing it browser lands me in my Django project, also created and used demo.html for test (runs fine).
P.S. How my Django file i.e. Project files (settings.py , urls.py) and my APP file going to communicate i.e. minimilistic CGI (if uWSGI, kindly state the setting steps for an already configured Nginx) .. as previously I was running Django project + apps via it's built-in dev server ----> how can I configure exactly the same while using my own localhost (Nginx).

Thanks
SubjectAuthorPosted

Nginx as a localhost for my Django project/site -uWSGI

nabeelahmedDecember 28, 2012 04:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 54
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready