Nginx versus Apache

97 views
Skip to first unread message

Andreas Kuhne

unread,
Oct 8, 2013, 8:16:42 AM10/8/13
to django...@googlegroups.com
Hi,

I was wondering, which server would be best for a production environment. Nginx or apache? At the moment we are running both, nginx for static files and apache + mod_wsgi for django. But in the future we will be moving our static assets to S3 and cloudfront, so the reason for using nginx for that will be gone. 

So now I am wondering which of the 2 webservers is the fastest and most efficient in serving a django website?

Regards,

Andréas

Valder Gallo

unread,
Oct 8, 2013, 9:06:40 AM10/8/13
to django...@googlegroups.com
+1 nginx


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALXYUbk2Sv6ia%3DhgHxDw%2BH0f6w89ys-q0zj7LDfBXWEKnENs_A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Valder Gallo
+55 11 9949 2911
+55 11 2532 2911
Skype: valdergallo
@valdergallo

Victor Manuel Quiñones Victor

unread,
Oct 8, 2013, 9:10:39 AM10/8/13
to django...@googlegroups.com
+1 Nginx



For more options, visit https://groups.google.com/groups/opt_out.



--
Quiñones Victor Manuel
Tel: +54 0362 15 4 880839
Resistencia - 3500
Argentina

Vernon D. Cole

unread,
Oct 8, 2013, 10:24:01 AM10/8/13
to django...@googlegroups.com
If you are doing any of the hundred-odd things that Apache can do an Nginx cannot, then you will need to use Apache.  But, if all you are doing is serving static files and handing all heavy lifting to django, then Nginx with uWSGI will do everything you need, and will do it with less resources.

Mando

unread,
Oct 8, 2013, 3:09:55 PM10/8/13
to django...@googlegroups.com
+1 nginx+uWSGI

Juan Pablo Martínez

unread,
Oct 8, 2013, 3:15:30 PM10/8/13
to django...@googlegroups.com
+1 nginx+gunicorn


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

For more options, visit https://groups.google.com/groups/opt_out.



--
juanpex
Reply all
Reply to author
Forward
0 new messages