Welcome! Log In Create A New Profile


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).


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: 75
Record Number of Users: 6 on March 20, 2015
Record Number of Guests: 148 on March 24, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready