Adding errorlog and accesslog options

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2023-01-10 15:57:20 -03:00
parent c85e4227cf
commit be8f25f8b8
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33
1 changed files with 4 additions and 0 deletions

View File

@ -12,9 +12,13 @@
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE # # ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
############################################################################### ###############################################################################
server.errorlog := "/var/log/lighttpd/error-pihole.log"
$HTTP["url"] =~ "^/admin/" { $HTTP["url"] =~ "^/admin/" {
server.document-root = "/var/www/html" server.document-root = "/var/www/html"
server.stream-response-body = 1 server.stream-response-body = 1
accesslog.filename = "/var/log/lighttpd/access-pihole.log"
accesslog.format = "%{%s}t|%h|%V|%r|%s|%b"
fastcgi.server = ( fastcgi.server = (
".php" => ( ".php" => (