This file is indexed.

/usr/share/puppet/modules.available/puppetlabs-apache/templates/mod/remoteip.conf.erb is in puppet-module-puppetlabs-apache 3.0.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Declare the header field which should be parsed for useragent IP addresses
RemoteIPHeader <%= @header %>

<%- if @proxy_ips -%>
# Declare client intranet IP addresses trusted to present
# the RemoteIPHeader value
<%-   [@proxy_ips].flatten.each do |proxy| -%>
RemoteIPInternalProxy <%= proxy %>
<%-   end -%>
<%- end -%>

<%- if @proxies_header -%>
# Declare the header field which will record all intermediate IP addresses
RemoteIPProxiesHeader <%= @proxies_header %>
<%- end -%>

<%- if @trusted_proxy_ips -%>
# Declare client intranet IP addresses trusted to present
# the RemoteIPHeader value
  <%- [@trusted_proxy_ips].flatten.each do |proxy| -%>
RemoteIPTrustedProxy <%= proxy %>
  <%- end -%>
<%- end -%>