Note
Here stands for a switch with the possible values "enable" and "disable", 123 stands for a number, ABC stands for a string, (...) stands for a list and {X=>Y} for a mapping of values.
Name |
Type |
Description |
---|---|---|
connection.kbytes-per-second |
123 |
Throttle the traffic per connection. |
debug.log-condition-cache-handling |
|
Enable debug logging for different parts of the Lighttpd server. |
debug.log-condition-handling |
| |
debug.log-file-not-found |
| |
debug.log-request-handling |
| |
debug.log-request-header |
| |
debug.log-request-header-on-error |
| |
debug.log-response-header |
| |
debug.log-state-handling |
| |
debug.log-timing |
|
Enable timing information in log messages. |
mimetype.assign |
(X=>Y) |
Assign a mimetype to file extensions. |
mimetype.use-xattr |
|
Use the xattr call to get the mime type if we use the X File System. |
server.bind |
ABC |
Binds Lighttpd to the specified hostname. Otherwise the request hostname is used. |
server.chroot |
ABC |
The directory to chroot into. |
server.core-files |
|
Enable Resource Limiting for core files. |
server.docroot |
OLD |
Use server.document-root instead |
server.document-root |
ABC |
The main directory where Lighttpd gets the files from. |
server.error-handler-404 |
ABC |
Path to a file to serve on File not Found |
server.errorfile-prefix |
ABC |
Path/prefix (+ error-code + ".html") to file |
server.errorlog |
ABC |
Path to a file where errors are logged |
server.errorlog-use-syslog |
|
Alternatively use syslog for error logging |
server.event-handler |
ABC |
Event handler to use (refer to Chapter 9) |
server.follow-symlink |
|
Enable Lighttpd following symbolic links |
server.force-lower-case-files |
OLD |
Use server.force-lowercase-filenames instead |
server.force-lowercase-filenames |
|
Force all filenames to lower case |
server.groupid |
OLD |
Use server.groupname instead |
server.groupname |
ABC |
Run Lighttpd with this group |
server.host |
OLD |
Use server.bind instead |
server.kbytes-per-second |
123 |
Throttle the server-wide throughput |
server.max-connection-idle |
123 |
Limit the number of idle connections |
server.max-connections |
123 |
Limit the number of overall connections |
server.max-fds |
123 |
Limit the number of file descriptors |
server.max-keep-alive-idle |
123 |
Seconds before an idle keepalive session is dropped |
server.max-keep-alive-requests |
123 |
Number of requests before a keepalive session is dropped |
server.max-read-idle |
123 |
Timeout for receiving data |
server.max-read-threads |
123 |
Limit the number of threads for read calls |
server.max-request-size |
123 |
Limit the request size until a 413 is sent |
server.max-stat-threads |
123 |
Limit the number of threads for stat calls |
server.max-worker |
123 |
Limit the number of worker processes (for multi-CPU) to spawn. |
server.max-write-idle |
123 |
Timeout for sending data |
server.modules |
(...) |
Which modules to use |
server.name |
ABC |
The Server Name, defaults to hostname |
server.network-backend |
ABC |
Backend to use (refer to Chapter 9) |
server.pid-file |
ABC |
A file to store Lighttpds pid (for example,for init) |
server.port |
123 |
The port to bind to; or use selectors |
server.protocol-http11 |
|
Enable HTTP1.1 (usually enabled) |
server.range-requests |
|
Allow serving the specific ranges of files |
server.stat-cache-engine |
ABC |
"disable", "simple", or "fam" (if available) |
server.tag |
ABC |
Set the server tag (defaults to Lighttpd + version) |
server.upload-dirs |
(...) |
Set the directories for file upload |
server.use-ipv6 |
|
Enable IPv6 connections |
server.use-keep-alive |
OLD |
Use server.max-keep-alive-requests = 0 to disable keep-alive instead |
server.use-noatime |
|
Disable setting access time on read |
server.userid |
OLD |
Use server.username instead |
server.username |
ABC |
Run Lighttpd with this user |
server.virtual-default-host |
OLD |
Load mod_simple_vhost and use simplevhost.default-host instead |
server.virtual-docroot |
OLD |
Stricken since 1.5.0. |
server.virtual-root |
OLD |
A list of ciphers, default is now TLS |
ssl.ca-file |
ABC |
Enable SSL |
ssl.cipher-list |
(...) |
Path to the certificate file, See Chapter 8 |
ssl.engine |
|
Stricken since 1.5.0, default is now TLS |
ssl.pemfile |
ABC | |
ssl.use-sslv2 |
|