From 84de43d428c62e221e1b3ec083f0ff0c9cfc3c9f Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Fri, 19 Jun 2020 23:42:22 +0200 Subject: [PATCH] gitea: disable gravatar, less log spam, persistent sessions --- roles/gitea/templates/app.ini.j2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/gitea/templates/app.ini.j2 b/roles/gitea/templates/app.ini.j2 index 2fed516..f327ebe 100644 --- a/roles/gitea/templates/app.ini.j2 +++ b/roles/gitea/templates/app.ini.j2 @@ -26,5 +26,20 @@ SECRET_KEY = {{ gitea_secret }} [service] DISABLE_REGISTRATION = true +[session] +PROVIDER = file + +[picture] +DISABLE_GRAVATAR = true + +[log] +MODE = console,file + +[log.console] +LEVEL = error + +[log.file] +LEVEL = warn + [oauth2] JWT_SECRET = {{ gitea_jwt_secret }}