diff options
Diffstat (limited to 'www/lighttpd/files/lighttpd.conf.sample')
-rw-r--r-- | www/lighttpd/files/lighttpd.conf.sample | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/lighttpd/files/lighttpd.conf.sample b/www/lighttpd/files/lighttpd.conf.sample index 8feb27d31190..4a9ad1bde0f8 100644 --- a/www/lighttpd/files/lighttpd.conf.sample +++ b/www/lighttpd/files/lighttpd.conf.sample @@ -44,6 +44,10 @@ server.errorlog = "/var/log/lighttpd.error.log" server.indexfiles = ( "index.php", "index.html", "index.htm", "default.htm" ) +# set the event-handler (read the performance section in the manual) +server.event-handler = "freebsd-kqueue" # needed on OS X + + # mimetype mapping mimetype.assign = ( ".pdf" => "application/pdf", @@ -264,4 +268,3 @@ server.groupname = "www" #### setenv #setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" ) #setenv.add-response-header = ( "X-Secret-Message" => "42" ) - |