Add remote port info to gitea apache access logs

Because the bulk of this traffic originates with our load balancer we
need to use port info to differentiate between actual source clients in
the load balancer logs. That info is currently missing so add it in.

Change-Id: I737e6373c09669f0321b656ecd4b137b94be38a4
This commit is contained in:
Clark Boylan 2021-02-03 12:42:39 -08:00
parent 137d518bf8
commit 45feb7621d
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ Listen 3081
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/gitea-ssl-access.log combined
LogFormat "%h:%{remote}p %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combinedport
CustomLog ${APACHE_LOG_DIR}/gitea-ssl-access.log combinedport
SSLEngine on
SSLProtocol All -SSLv2 -SSLv3