News for hackers. Stuff that matters.
Re:How to configure nginx and uWSGI to serve Django projects by mrweasel on Tuesday January 17, 2012 @12:52PM (#3475705)
Varnish is just a proxy, or webcache, as I believe they like to call it. Nginx is needed because Varnish won't talk directly to the uwsgi processes, Varnish only understands http. The data that Varnish need to cache has to be supplied by a webserver somewhere and nginx is pretty nice and easily configurable. So I would assume that the idea is to use nginx as the webserver, not the cache/proxy.
Re:How to configure nginx and uWSGI to serve Django projects by unbit on Tuesday January 17, 2012 @01:00PM (#3475743)
you can directly link uWSGI with varnish using http protocol instead of the uwsgi one: http://projects.unbit.it/uwsgi/wiki/Example#varnish
Re:How to configure nginx and uWSGI to serve Django projects by mrweasel on Tuesday January 17, 2012 @05:17PM (#3476750)
I did not know that... That's pretty awesome.