diff options
| author | saturneric <[email protected]> | 2025-11-08 00:15:22 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-08 00:15:22 +0000 |
| commit | cbcde5cfadfcfae34cbdd54008d02c1eeeb92bfc (patch) | |
| tree | 3d858a5851137bc3ac78aec2a6d852616661733d | |
| parent | fix(proxy): restrict git proxy to GET and POST (diff) | |
| download | cgit-cbcde5cfadfcfae34cbdd54008d02c1eeeb92bfc.tar.gz cgit-cbcde5cfadfcfae34cbdd54008d02c1eeeb92bfc.zip | |
chore(config): comment out access log settings
* Disable access log output to reduce logging noise or for privacy.
* Can be re-enabled by uncommenting if detailed access logs are needed.
| -rw-r--r-- | lighttpd.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lighttpd.conf b/lighttpd.conf index e874323..34cef44 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -7,8 +7,8 @@ cgi.assign = ("cgit.cgi" => "") mimetype.assign = ( ".css" => "text/css" ) # log to stderr -accesslog.filename = "/dev/stderr" -accesslog.format = "%h %V %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\" %T" +# accesslog.filename = "/dev/stderr" +# accesslog.format = "%h %V %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\" %T" # Proxy git http requests to gitea $HTTP["url"] =~ "^/(.+?)\.git/(info/refs|git-upload-pack)$" { |
