Clark Boylan 2fb310972c Update gitea logs for better request tracing
In gitea 1.14.0 they dropped the macaron http router for go-chi. This
seems to have changed how the request context's RemoteAddr is parsed in
logging. Importantly instead of a valid source port we get :0 which
makes it difficult to trace a connection from apache to gitea.

The origin of this behavior seems to be handling of X-Forwarded-For
headers that apache is setting. To address this we drop those headers
in hopes that gitea will log raw details for the apacher -> gitea
connection in that case. Due to not using x-forwarded-for anymore we
need to log the source port that apache is using for the proxy pass
connection which is done by modifying the apache log format.

Change-Id: I1e69431bf703947dc5c223df2a9e1b55bd0d841c
2022-09-30 11:29:58 -07:00
..
2020-03-11 15:15:00 -07:00
2022-09-16 12:10:00 -07:00
2019-05-15 16:03:07 -07:00
2021-02-11 13:35:16 +11:00
2020-09-30 11:55:24 +10:00
2021-12-03 14:17:23 -08:00
2021-05-11 08:40:01 -07:00
2021-03-18 11:59:30 +11:00
2021-03-18 11:59:30 +11:00
2022-09-15 19:21:33 -07:00
2022-02-10 13:24:42 -08:00
2021-03-18 11:59:30 +11:00
2022-02-25 17:27:35 +11:00
2022-06-29 11:26:47 -07:00
2021-07-15 23:25:10 +00:00