Clark Boylan 04efabaacb Update gitea access log format
We use the Ctx.Req object's RemoteAddr value as it should include the
IP:port combo according to https://golang.org/pkg/net/http/#Request. The
default template uses Ctx.RemoteAddr which Macaron attempts to parse for
x-forwarded-for values but this has the problem of stripping out any
port info.

The port info is important for us because we are doing layer 4 load
balancing and not http l7 load balancing. That means the ip:port
mappings are necessary to map between haproxy and gitea logs.

Change-Id: Icea0d3d815c9d8dd2afe2b1bae627510c1d76f99
2020-06-30 16:22:25 -07:00
..
2020-02-12 16:39:11 +11:00
2020-06-30 16:22:25 -07:00
2020-04-16 12:45:36 -05:00
2020-04-16 12:08:00 -07:00
2018-08-23 21:34:42 +10:00
2020-05-20 13:17:28 -07:00