diff options
Diffstat (limited to 'templates/web/lighttpd')
-rw-r--r-- | templates/web/lighttpd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/lighttpd b/templates/web/lighttpd index 1153154..57acb2e 100644 --- a/templates/web/lighttpd +++ b/templates/web/lighttpd @@ -3,6 +3,10 @@ $HTTP["host"] == "<%= gitweb_url %>" { "^$" => "/", ) + <%- if logmode.to_s == 'anonym' -%> + accesslog.format = "127.0.0.1 %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" + <%- end -%> + alias.url += ( "/gitweb.css" => "/var/www/git/gitweb.css", "/git-logo.png" => "/var/www/git/git-logo.png", |