2026-03-14 13:16:12 +01:00
|
|
|
###############################################################################
|
|
|
|
|
########## parameterized remoteip config created by Puppet ##########
|
|
|
|
|
########## manual changes will be overwritten !!! ##########
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
2026-03-14 15:09:28 +01:00
|
|
|
<IfModule remoteip_module>
|
2026-03-14 15:36:11 +01:00
|
|
|
RemoteIPHeader <%= @ae_remoteip_header %>
|
2026-03-14 15:27:00 +01:00
|
|
|
<% @ae_trusted_proxy.each do |proxy| -%>
|
2026-03-14 15:30:23 +01:00
|
|
|
RemoteIPTrustedProxy <%= proxy -%>
|
2026-03-14 15:09:28 +01:00
|
|
|
<% end -%>
|
2026-03-14 15:27:00 +01:00
|
|
|
<% @ae_internal_proxy.each do |proxy| -%>
|
2026-03-14 15:30:23 +01:00
|
|
|
RemoteIPInternalProxy <%= proxy -%>
|
2026-03-14 15:09:28 +01:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
|
|
# Use real client IP in all standard log formats
|
|
|
|
|
LogFormat "%a %l %u %t \"%r\" %>s %b" common
|
|
|
|
|
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
|
|
|
|
|
</IfModule>
|
2026-03-14 13:16:12 +01:00
|
|
|
|