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

**URL:** <https://www.ruby-forum.com/t/nginx-as-a-localhost-for-my-django-project-site-uwsgi/225304>\
**Category:** NGINX\
**Created:** [December 28, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-as-a-localhost-for-my-django-project-site-uwsgi/225304 "2012-12-28T15:10:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [December 28, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-as-a-localhost-for-my-django-project-site-uwsgi/225304/1 "2012-12-28T15:10:45Z")

</div>

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

Posted at Nginx Forum:

> **[Nginx as a localhost for my Django project/site -uWSGI](https://forum.nginx.org/read.php?2,234540,234540#msg-234540)**
>
> 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...
