Tuesday, October 8, 2013

Re: Nginx versus Apache

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.

On Tuesday, October 8, 2013 1:16:42 PM UTC+1, Andréas Kühne wrote:
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

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/da4ead75-4aac-4cbb-b727-1ff8fcca46b1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate