Add more lighttpd configuration files.
This commit is contained in:
parent
7f341a15d9
commit
f3870d8046
2 changed files with 74 additions and 0 deletions
27
lighttpd/conf.d/access_log.conf
Normal file
27
lighttpd/conf.d/access_log.conf
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#######################################################################
|
||||
##
|
||||
## Corresponding documentation:
|
||||
##
|
||||
## http://www.lighttpd.net/documentation/access.html
|
||||
##
|
||||
server.modules += ( "mod_accesslog" )
|
||||
|
||||
##
|
||||
## Default access log.
|
||||
##
|
||||
accesslog.filename = log_root + "/access.log"
|
||||
|
||||
##
|
||||
## The default format produces CLF compatible output.
|
||||
## For available parameters see access.txt
|
||||
##
|
||||
#accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\""
|
||||
|
||||
##
|
||||
## If you want to log to syslog you have to unset the
|
||||
## accesslog.use-syslog setting and uncomment the next line.
|
||||
##
|
||||
#accesslog.use-syslog = "enable"
|
||||
|
||||
#
|
||||
#######################################################################
|
||||
47
lighttpd/conf.d/debug.conf
Normal file
47
lighttpd/conf.d/debug.conf
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
#######################################################################
|
||||
##
|
||||
## Debug options
|
||||
## ---------------
|
||||
##
|
||||
## Enable those options for debugging the behavior
|
||||
##
|
||||
## The settings can be set per location/vhost.
|
||||
##
|
||||
|
||||
##
|
||||
## log-request-handling allows you to track the request
|
||||
## handing inside lighttpd.
|
||||
##
|
||||
#debug.log-request-handling = "enable"
|
||||
|
||||
##
|
||||
## log all request headers.
|
||||
##
|
||||
#debug.log-request-header = "enable"
|
||||
|
||||
##
|
||||
## similar to log-request-header.
|
||||
## but only logs if we encountered an error.
|
||||
## (return codes 400 and 5xx)
|
||||
##
|
||||
#debug.log-request-header-on-error = "enable"
|
||||
|
||||
##
|
||||
## log the header we send out to the client.
|
||||
##
|
||||
#debug.log-response-header = "enable"
|
||||
|
||||
##
|
||||
## log if a file wasnt found in the error log.
|
||||
##
|
||||
#debug.log-file-not-found = "enable"
|
||||
|
||||
##
|
||||
## debug conditionals handling
|
||||
##
|
||||
#debug.log-condition-handling = "enable"
|
||||
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue