excape golang templates
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9dc681fd1a
commit
682c096764
|
@ -219,7 +219,7 @@ gitea_mirror_min_interval: 10h
|
|||
|
||||
gitea_mail_service_enabled: False
|
||||
gitea_mail_service_from: '"System" <systemmail@example.com>'
|
||||
gitea_no_reply_address: noreply.example.org
|
||||
gitea_no_reply_address: "noreply@example.org"
|
||||
# @var gitea_mail_subject_prefix:default: $ "_unset_"
|
||||
# @var gitea_mail_subject_prefix:description: Prefix displayed before subject in mail.
|
||||
|
||||
|
|
|
@ -206,7 +206,9 @@ MACARON = file
|
|||
ROUTER_LOG_LEVEL = Info
|
||||
ROUTER = file
|
||||
ENABLE_ACCESS_LOG = true
|
||||
{% raw %}
|
||||
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}}"
|
||||
{% endraw %}
|
||||
ACCESS = file
|
||||
LEVEL = {{ gitea_log_level }}
|
||||
STACKTRACE_LEVEL = None
|
||||
|
|
Loading…
Reference in New Issue