Lighttpd support

lighttpd >= 1.4.42 supports the uwsgi protocol with Python WSGI backends.The uwsgi protocol is similar to the SCGI protocol, and lighttpd supportsboth protocols in mod_scgi.

Configuring Lighttpd

Modify your lighttpd.conf configuration file:

  1. server.modules += ( "mod_scgi" )
  2. scgi.protocol = "uwsgi"
  3. scgi.server = (
  4. "/" => (( "host" => "127.0.0.1", "port" => 3031, "check-local" => "disable" )),
  5. )

Further doc on configuring lighttpd and Python WSGI can be found athttps://redmine.lighttpd.net/projects/lighttpd/wiki/HowToPythonWSGIincluding examples configuring uWSGI servers.