OP#491 update remoteip.conf

This commit is contained in:
2026-03-12 16:37:09 +01:00
parent e301619012
commit 708662c53a
4 changed files with 5 additions and 19 deletions

View File

@@ -1,6 +0,0 @@
###############################################################################
########## parameterized loadmodule config created by Puppet ##########
########## manual changes will be overwritten !!! ##########
###############################################################################
LoadModule remoteip_module modules/mod_remoteip.so

View File

@@ -5,3 +5,8 @@
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy <%= @ng_trusted_proxy %>
RemoteIPInternalProxy <%= @ng_trusted_proxy %>
# mod_remoteip rewrites client address for %a; use it in common/combined logs.
LogFormat "%a %l %u %t \"%r\" %>s %b" common
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined