source: trunk/lvs/debian/config/etc/lighttpd/lighttpd.conf @ 1183

Last change on this file since 1183 was 1183, checked in by quentin, 15 years ago
Tweak sorry server configuration for maximum performance
File size: 1.3 KB
RevLine 
[1021]1server.modules              = (
2        "mod_alias",
3        "mod_magnet",
4)
5
[1183]6server.max-connections=4096
7server.max-fds=9182
8server.max-read-idle=5
9
[1021]10## a static document-root, for virtual-hosting take look at the
11## server.virtual-* options
12server.document-root       = "/var/www/"
13
14## where to send error-messages to
15server.errorlog            = "/var/log/lighttpd/error.log"
16
17### files to check for if .../ is requested
18#index-file.names           = ( "index.php", "index.html",
19#                               "index.htm", "default.htm",
20#                               "index.lighttpd.html" )
21
22## bind to port (default: 80)
[1022]23server.port               = 80
[1021]24
25## bind to localhost only (default: all interfaces)
26## server.bind                = "localhost"
27
28## to help the rc.scripts
29server.pid-file            = "/var/run/lighttpd.pid"
30
31## change uid to <uid> (default: don't care)
32server.username            = "www-data"
33
34## change uid to <uid> (default: don't care)
35server.groupname           = "www-data"
36
37alias.url = (
38        "/__scripts/maint/" => "/etc/lighttpd/scripts-maint/"
39)
40
41$HTTP["url"] !~ "^/__scripts/maint" {
42        magnet.attract-physical-path-to = ( "/etc/lighttpd/scripts-maint.lua" )
43}
44
45#### external configuration files
46## mimetype mapping
47include_shell "/usr/share/lighttpd/create-mime.assign.pl"
Note: See TracBrowser for help on using the repository browser.