apache2: Ermögliche Logging der RemoteIP

This commit is contained in:
phil 2023-01-16 15:52:08 +01:00
parent fd43dbbb59
commit 7d29bb73c4
2 changed files with 10 additions and 3 deletions

4
templates/remoteip.conf Normal file
View file

@ -0,0 +1,4 @@
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy {{ gateway_host_ip }}
LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" remotip