diff --git a/defaults/main.yml b/defaults/main.yml index f9b9ca0..7b74b18 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -219,7 +219,7 @@ gitea_mirror_min_interval: 10h gitea_mail_service_enabled: False gitea_mail_service_from: '"System" ' -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. diff --git a/templates/custom/conf/app.ini.j2 b/templates/custom/conf/app.ini.j2 index 84a4570..078f203 100644 --- a/templates/custom/conf/app.ini.j2 +++ b/templates/custom/conf/app.ini.j2 @@ -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