From 5b3d38d4d7c4fbe60ca65823328ca7ec0613afa5 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 30 Jun 2020 12:24:12 -0700 Subject: [PATCH] Enable access log in gitea This will write an NCSA style access.log file to the logs volume. This will let us see user agents, etc, to aid in troubleshooting. Change-Id: I64457f631861768928038676545067b80ef7a122 --- playbooks/roles/gitea/templates/app.ini.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/gitea/templates/app.ini.j2 b/playbooks/roles/gitea/templates/app.ini.j2 index b33c20a502..25f3014a57 100644 --- a/playbooks/roles/gitea/templates/app.ini.j2 +++ b/playbooks/roles/gitea/templates/app.ini.j2 @@ -51,6 +51,7 @@ PATH = /data/gitea/attachments [log] ROOT_PATH = /logs LEVEL = Info +ENABLE_ACCESS_LOG = true [security] INSTALL_LOCK = true