]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/apache/templates/mod/rpaf.conf.erb
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / apache / templates / mod / rpaf.conf.erb
1 # Enable reverse proxy add forward
2 RPAFenable On
3 # RPAFsethostname will, when enabled, take the incoming X-Host header and
4 # update the virtual host settings accordingly. This allows to have the same
5 # hostnames as in the "real" configuration for the forwarding proxy.
6 <% if @sethostname -%>
7 RPAFsethostname On
8 <% else -%>
9 RPAFsethostname Off
10 <% end -%>
11 # Which IPs are forwarding requests to us
12 RPAFproxy_ips <%= Array(@proxy_ips).join(" ") %>
13 # Setting RPAFheader allows you to change the header name to parse from the
14 # default X-Forwarded-For to something of your choice.
15 RPAFheader <%= @header %>