Skip to content

Commit

Permalink
Add access log for lighttpd
Browse files Browse the repository at this point in the history
This adds an access log for lighttpd in addition to the error log.
  • Loading branch information
Alex Ezell committed Dec 6, 2018
1 parent de7cde6 commit d923b84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .docker/lighttpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ server.modules = (
"mod_redirect",
"mod_fastcgi",
"mod_rewrite",
"mod_accesslog",
)

server.document-root = "/var/www/public"
Expand All @@ -15,6 +16,8 @@ server.username = "www-data"
server.groupname = "www-data"
server.port = 80

accesslog.filename = "/var/log/lighttpd/access.log"

index-file.names = ( "index.php", "index.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
Expand Down

0 comments on commit d923b84

Please sign in to comment.