21 lines
796 B
Plaintext
21 lines
796 B
Plaintext
###############################################################################
|
|
########## parameterized remoteip config created by Puppet ##########
|
|
########## manual changes will be overwritten !!! ##########
|
|
###############################################################################
|
|
|
|
<IfModule remoteip_module>
|
|
RemoteIPHeader <%= @ae_remoteip_header -%>
|
|
<% @ae_trusted_proxy.each do |proxy| %>
|
|
RemoteIPTrustedProxy <%= proxy -%>
|
|
<% end -%>
|
|
<% @ae_internal_proxy.each do |proxy| %>
|
|
RemoteIPInternalProxy <%= proxy -%>
|
|
<% 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>
|
|
|