debug app.ini

This commit is contained in:
vincent 2020-11-07 09:52:21 +01:00
parent b243ff95fe
commit 4b5fa56709

View File

@ -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