diff options
author | Kyungmin Bae <williambae1@gmail.com> | 2021-01-14 05:30:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 20:30:46 +0000 |
commit | edbc5c86dfda07a0eada0acd7461a610fee00ae3 (patch) | |
tree | 75d2c5e38f84dbef1300d7e142a3a1e443a709bf /custom | |
parent | 954aeefb05ee48a8c4ff6006ea449f313a6b9848 (diff) | |
download | gitea-edbc5c86dfda07a0eada0acd7461a610fee00ae3.tar.gz gitea-edbc5c86dfda07a0eada0acd7461a610fee00ae3.zip |
Use Request.URL.RequestURI() for fcgi (#14312) (#14314)
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 045b4cfed7..e68727eb84 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -867,7 +867,7 @@ 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_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.URL.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 |