Brief description of mod_scgi directives
|scgi.server||backend server definition(s) for hosts to which to send requests; options for each backend host|
|scgi.balance||load-balancing algorithm for backends ("fair", "least-connection", "round-robin", "hash", or "sticky")|
|scgi.debug||debug level (value between 0 and 65535)|
|scgi.map-extensions||map multiple extensions to the same backend|
|scgi.protocol||protocol between lighttpd and backend server ("scgi" (default) or "uwsgi") (since 1.4.42)|
scgi.server parameters can be found in mod_fastcgi documentation, since the SCGI module shares the same code infrastructure with the FastCGI module, and fastcgi.server parameters are very similar.
Note "check-local" is enabled by default, due to historical reasons, but most users serving virtual paths will want to disable it. If enabled, lighttpd first checks for a file in the local 'server.document-root' tree and returns 404 (Not Found) if no such file exists. If disabled, lighttpd forwards the request to the backend without performing this check.
Examples how to set up Python WSGI server with lighttpd: HowToPythonWSGI
Updated by gstrauss 5 months ago · 17 revisions