system-config/playbooks/roles/gitea
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
..
defaults Split the base playbook into services 2019-05-19 07:31:00 -05:00
tasks Cron module wants strings 2020-04-25 11:59:29 -05:00
templates Update gitea access log format 2020-06-30 16:22:25 -07:00
README.rst Deploy gitea with docker-compose 2019-02-18 08:46:40 -08:00

Install, configure, and run Gitea.