dev/provisioning/modules/apache/templates/mod/rpaf.conf.erb
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     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 %>