aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-11-08 00:15:22 +0000
committersaturneric <[email protected]>2025-11-08 00:15:22 +0000
commitcbcde5cfadfcfae34cbdd54008d02c1eeeb92bfc (patch)
tree3d858a5851137bc3ac78aec2a6d852616661733d
parentfix(proxy): restrict git proxy to GET and POST (diff)
downloadcgit-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.conf4
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)$" {