diff options
| author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-01-23 14:06:34 +0000 |
|---|---|---|
| committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2017-01-23 14:06:42 +0000 |
| commit | 2aa9950702bdda9a82668f54bf8c50e8b82f376f (patch) | |
| tree | 2c80a57afa6a814e250d59ff31b75fd766a42dd8 /roles/httpd/reverseproxy/templates | |
| parent | a385942801ed4ed5f238d3fe3ca66e50e8abee88 (diff) | |
| download | ansible-2aa9950702bdda9a82668f54bf8c50e8b82f376f.tar.gz ansible-2aa9950702bdda9a82668f54bf8c50e8b82f376f.tar.xz ansible-2aa9950702bdda9a82668f54bf8c50e8b82f376f.zip | |
Block all traffic for this paste at the proxies
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/httpd/reverseproxy/templates')
| -rw-r--r-- | roles/httpd/reverseproxy/templates/reversepassproxy.sticky-notes.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.sticky-notes.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.sticky-notes.conf new file mode 100644 index 000000000..ada5bd351 --- /dev/null +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.sticky-notes.conf @@ -0,0 +1,20 @@ +<Location /394536/> + require all denied +</Location> + +{% if header_scheme %} +RequestHeader set X-Forwarded-Scheme https early +RequestHeader set X-Scheme https early +RequestHeader set X-Forwarded-Proto https early + +{% endif %} +{% if header_expect %} +RequestHeader unset Expect early + +{% endif %} +{% if keephost %} +ProxyPreserveHost On +{% endif %} + +ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}} +ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}} |
