Ian Bicking ha scritto:
> [...]
> 
> The user shouldn't have to anticipate what an application can or should 
> do, beyond what the spec says.  


I disagree.

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[1] the nginx server for handling the HTTP 
protocol.

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 
HTTP server.


[1] You may also say "abuse", since the WSGI application will usually
     block the nginx main cycle.


 > [...]


Manlio Perillo
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to