You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hello,
If I create a base django app, how can I get it to run using nginx in windows?
I keep getting 404 errors.
Thank you
Nikolas Stevenson-Molnar
unread,
Jan 17, 2013, 1:48:08 PM1/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Nginx is just a proxy server, you still need something behind it to run
your Django project. I recommend gunicorn (http://gunicorn.org/). It's
easy to use and is commonly used with Nginx.
Once you have Nginx installed, configuration is about the same as
for any other platform. The gunicorn site has an example Nginx
configuration you can adapt: http://gunicorn.org/#deployment
You also need to run gunicorn itself. You can install it with pip
(if you haven't already). Then there are several ways to run it;
just have a look at their docs. I usually do something like:
gunicorn --daemon myproject.wsgi:application
Keep in mind that gunicorn won't auto-reload your project when you
change the code (like the Django dev server does) so when you make
updates, you'll need to restart gunicorn.
_Nik
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Actually, it looks like those are Nginx builds for cygwin. If you
want native Windows builds, the Nginx site itself has those:
http://nginx.org/en/download.html