Lighttpd configuration full contact (1) -- Lighttpd Core

Source: Internet
Author: User
Tags syslog unix domain socket

Try to give all configuration options to the full column, equivalent to translation http://redmine.lighttpd.net/wiki/lighttpd/Docs:ConfigurationOptions
Add your own understanding.

 

Lighttpd core Configuration

 

Connection. Kbytes-per-second limits the speed of each link
Etag. Use-inode etag uses the inode number
Etag. Use-mtime etag use the modification time
Etag. Use-size etag uses the file size
Etag is used to check whether the content on the server changes. Therefore, inode numbers and modification times cannot be used in distributed systems, because the machines cannot be different. File size is a good choice.

Index-file.names example file name, General index.html, index. php and so on.
Mimetype. Assign multimedia type ing
Mimetype. Use-xattr!
Server. Bind lighty is bound to that address. You can use an IP address, host name, or even a Unix domain socket.
Root directory of the server. chroot Server
Whether the core dump file is generated when server. Core-files lighty fails to help debugging.
Server. dir-listing: If no index file exists, all files in the directory are displayed.
Server.doc ument-root lighty place the root directory of the document
Server. errorfile-Prefix specifies the prefix of the page returned by Lighttpd when an error such as 404 occurs. For example, if the prefix is status, light will look for status-404.html
Server. Error-Handler-404 specifies the static or dynamic page as the 404 processing page
The path where server. errorlog is placed in errolog
Server. errorlog-use-syslog * lighty errolog is saved to syslog
Server. breakagelog does not understand!

Server. Event-handler asynchronous event processing mechanism, such as selecting select epoll. If the platform is different, it is all different.
Server. Follow-symlink lighty follows the symbolic link when accessing a static page. It is recommended that you do not allow it for security reasons.
Server. Force-lowercase-filenames converts all characters in the request to lowercase letters.
Server. groupname lighty.
Server. Kbytes-per-second the speed limit of the entire server, instead of for every connection
Server. Max-connections: the maximum number of connections, which is half of max-FDS, or 1/3. Because the socket is used, files must be opened for each connection.
Server. Max-FDS maximum number of file descriptors that can be opened
The maximum number of seconds for the server. Max-keep-alive-idle link to be idle. If the link exceeds this time, it will be disabled by the server.
Server. Max-keep-alive-Requests does not understand
Server. Max-read-idle the number of seconds after a link is read is exceeded.
Server. Max-request-size the maximum size of data in a POST request
Server. Max-worker Worker Process count
Server. Max-Write-idle is the same as server. Max-read-idle.
Server. Modules lighty loaded modules
Server. Name Server name, which is returned to the client
Server. Network-backend select the file read/write mode POSIX-AIO Linux-sendfile, etc.
Server. PID-file is used to prevent lighty PID file names
Server. protocol-http11 set whether http1.1 is supported
Server. Range-Requests large file range requests are particularly useful for large files that can be resumed from a breakpoint. PDF cannot range requests
Server. Reject-procedure CT-100-with-417
Server. Stat-Cache-engine caches the information of a file, which is useful for frequent access.
Server. Tag sets the server tag,
Server. Upload-dirs
Server. IPv6 for use-ipv6
Server. Username Server user ID
Does static-file.etags use etag?
Static-file.exclude-extensions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.