Files
fedora-infra_ansible/roles/httpd/reverseproxy/templates/reversepassproxy.conf
Ralph Bean 0ec6d0e2e1 Whitespace.
2014-12-08 17:40:07 +00:00

12 lines
302 B
Plaintext

{% if rewrite %}
RewriteEngine On
RewriteRule ^{{remotepath}}$ %{REQUEST_URI}/ [R=301]
{% endif %}
{% if header_scheme %}
RequestHeader set X-Forwarded-Scheme https early
{% endif %}
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}