Lines Matching refs:to
10 * Prefer lighttpd defaults unless you have a reason to change a setting,
11 and unless you test that changing the setting is beneficial to you.
31 - rely on defaults where possible to reduce unnecessary (duplicative) config
32 processing (at runtime) to process configuration directives which were
33 already set to the default values
46 to handle each request, which is is unnecessary if a module is loaded but
47 not otherwise configured to be used
50 explicitly add one or more to server.modules to use them
51 - tweaks to remove optional functionality
53 alternatively, use: server.tag = "lighttpd" to hide the lighttpd version
55 small files, but otherwise it is recommended to be left enabled
57 - configs provided by distros aim to be newbie friendly but can introduce
63 config setting to disable range requests for PDFs has been cargo-culted
64 into configs since then. Prefer to comment out or remove:
67 to handle and also affects memory usage for the connection cache
73 restrictions are required, prefer to run a separate lighttp instance under a
79 - prefer to configure mod_extforward extforward.hap-PROXY for lighttpd
88 - sometimes it may take fewer config lines to set a config option once in the
89 global scope and then, where necessary, to unset the option in a small
92 - having no config conditions will be among the fastest configs to be
96 - prefer to use unix domain sockets (instead of TCP sockets) for connections
97 from lighttpd to backends running on the same host
99 (server.bind = "/path/to/lighttpd.sock")
100 and lighttpd mod_proxy can act as a reverse-proxy to a backend lighttpd
101 server. Use with mod_extforward to preserve client remote address for the
107 - lighttpd provides mechanisms for lighttpd to start up PHP backends, and
108 that works well, but PHP-FPM is the modern and recommended mechanism to
113 and using a blank target to indicate no modification
128 for stat() results to be cached longer (16 seconds)
129 - mod_auth: set auth.cache = ("max-age" => "600") to cache passwords (default
130 disabled), but acknowledge changes to your security posture if enabling the
132 - mod_deflate: set deflate.cache-dir to cache (and reuse) compressed static
134 - mod_dirlisting: set dir-listing.cache = ( ... ) to configure caching of
136 * do not sacrifice security to save a few CPU cycles
141 functionality needs to be tuned for proper site operation
148 * compile lighttpd with mmap support (./configure --enable-mmap) to improve
168 ulimit -Hn might need to be adjusted to allow this or higher values.
173 server.max-connections is calculated to be 1/3 of server.max-fds if
186 more memory than HTTP/1.1; low-memory systems might choose to disable HTTP/2
201 lighttpd waits to read or write to the client (when lighttpd is trying to read
209 Generally, server.max-keep-alive-requests should not be set to 0 since setting
224 ``--disable-lfs`` to disable the support for files larger than 2GB. lighttpd will
225 fall back to the ``writev() + mmap()`` network calls which is ok, but not as
229 help to get the last few percent of performance out of the server. Be aware that
237 lot if (and only if) you have a lot of large files to send.
264 system load if you have a lot of large files to be sent, but keep in mind that
265 you have to provide the memory in the kernel for each connection. 1024 * 64KB