[Web-SIG] serving (potentially large) files through wsgi?
manlio_perillo at libero.it
Mon Dec 17 19:33:58 CET 2007
Ian Bicking ha scritto:
> The user shouldn't have to anticipate what an application can or should
> do, beyond what the spec says.
The intent of mod_wsgi for nginx, among other things, is to have an
"integrated" deployment platform for running WSGI applications;
so the nginx server configuration *is* the WSGI application configuration.
With mod_wsgi for nginx, you don't run a WSGI application inside the
nginx server, you just use the nginx server for handling the HTTP
It is a subtle but significative difference, IMHO.
I'm using nginx because writing an HTTP server is hard, very hard, and
it is much simpler to embed the Python interpreter inside an exiting
 You may also say "abuse", since the WSGI application will usually
block the nginx main cycle.
More information about the Web-SIG