Mercurial > repos > other > Puppet
view modules/apache/templates/mod/rpaf.conf.erb @ 257:675c1cc61eaf
Update Apache module to get CentOS 8 support
Unfortunately it only fixes some bits. mod_wsgi still needs
other approaches
This also overrides the vhost modification to make them come last
in the import order (after module loading)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Dec 2019 14:43:29 -0500 |
parents | 956e484adc12 |
children |
line wrap: on
line source
# Enable reverse proxy add forward RPAFenable On # RPAFsethostname will, when enabled, take the incoming X-Host header and # update the virtual host settings accordingly. This allows to have the same # hostnames as in the "real" configuration for the forwarding proxy. <% if @sethostname -%> RPAFsethostname On <% else -%> RPAFsethostname Off <% end -%> # Which IPs are forwarding requests to us RPAFproxy_ips <%= Array(@proxy_ips).join(" ") %> # Setting RPAFheader allows you to change the header name to parse from the # default X-Forwarded-For to something of your choice. RPAFheader <%= @header %>