20 lines
789 B
Plaintext
20 lines
789 B
Plaintext
###############################################################################
|
|
########## parameterized remoteip config created by Puppet ##########
|
|
########## manual changes will be overwritten !!! ##########
|
|
###############################################################################
|
|
|
|
<IfModule remoteip_module>
|
|
RemoteIPHeader <%= @remoteip_header %>
|
|
<% @trusted_proxies.each do |proxy| -%>
|
|
RemoteIPTrustedProxy <%= proxy %>
|
|
<% end -%>
|
|
<% @internal_proxies.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>
|
|
|