1 # Declare the header field which should be parsed for useragent IP addresses
2 RemoteIPHeader <%= @header %>
5 # Declare client intranet IP addresses trusted to present
6 # the RemoteIPHeader value
7 <%- [@proxy_ips].flatten.each do |proxy| -%>
8 RemoteIPInternalProxy <%= proxy %>
12 <%- if @proxies_header -%>
13 # Declare the header field which will record all intermediate IP addresses
14 RemoteIPProxiesHeader <%= @proxies_header %>
17 <%- if @trusted_proxy_ips -%>
18 # Declare client intranet IP addresses trusted to present
19 # the RemoteIPHeader value
20 <%- [@trusted_proxy_ips].flatten.each do |proxy| -%>
21 RemoteIPTrustedProxy <%= proxy %>