Compare commits

5 Commits

View File

@@ -4,7 +4,7 @@
############################################################################### ###############################################################################
<IfModule remoteip_module> <IfModule remoteip_module>
RemoteIPHeader <%= @ae_remoteip_header %> RemoteIPHeader <%= @ae_remoteip_header -%>
<% @ae_trusted_proxy.each do |proxy| %> <% @ae_trusted_proxy.each do |proxy| %>
RemoteIPTrustedProxy <%= proxy -%> RemoteIPTrustedProxy <%= proxy -%>
<% end -%> <% end -%>
@@ -12,6 +12,7 @@
RemoteIPInternalProxy <%= proxy -%> RemoteIPInternalProxy <%= proxy -%>
<% end -%> <% end -%>
# Use real client IP in all standard log formats # 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" common
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined