From 4b5fa56709ac9fcc73b88614c1479800cc1f6758 Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 7 Nov 2020 09:52:21 +0100 Subject: [PATCH] debug app.ini --- templates/app.ini.j2 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/templates/app.ini.j2 b/templates/app.ini.j2 index a9364c7..9d2cacd 100644 --- a/templates/app.ini.j2 +++ b/templates/app.ini.j2 @@ -35,13 +35,10 @@ DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false ; Allow users to push local repositories to Gitea and have them automatically created for a user or an org ENABLE_PUSH_CREATE_USER = {{ gitea_enable_push_create_user }} ENABLE_PUSH_CREATE_ORG = {{ gitea_enable_push_create_org }} -; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, -repo.pulls, repo.wiki, repo.ext_wiki +; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues,repo.pulls, repo.wiki, repo.ext_wiki DISABLED_REPO_UNITS = -; Comma separated list of default repo units. Allowed values: repo.code, repo.releases, repo.issues, r -epo.pulls, repo.wiki. -; Note: Code and Releases can currently not be deactivated. If you specify default repo units you shou -ld still list them for future compatibility. +; Comma separated list of default repo units. Allowed values: repo.code, repo.releases, repo.issues, repo.pulls, repo.wiki. +; Note: Code and Releases can currently not be deactivated. If you specify default repo units you should still list them for future compatibility. ; External wiki and issue tracker can't be enabled by default as it requires additional settings. ; Disabled repo units will not be added to new repositories regardless if it is in the default list. DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki @@ -642,7 +639,7 @@ SENDMAIL_ARGS = SENDMAIL_TIMEOUT = 5m [cache] - if the cache enabled +;if the cache enabled ENABLED = true ; Either "memory", "redis", or "memcache", default is "memory" ADAPTER = memory @@ -734,7 +731,6 @@ MACARON = file ROUTER_LOG_LEVEL = Info ROUTER = console ENABLE_ACCESS_LOG = false -ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}" ACCESS = file ; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace" LEVEL = Info