summaryrefslogtreecommitdiffstats
path: root/roles/httpd
diff options
context:
space:
mode:
authorRicky Elrod <codeblock@fedoraproject.org>2016-08-03 09:30:02 +0000
committerRicky Elrod <codeblock@fedoraproject.org>2016-08-03 09:30:02 +0000
commitf1e82e00ca21d77c824cbb5dff465cabb8fc91ff (patch)
tree582aaba09f326a588577242c00429618ed6e6a86 /roles/httpd
parent56ca900f6e13bea8b44e9999e5d47f011d23d954 (diff)
downloadansible-f1e82e00ca21d77c824cbb5dff465cabb8fc91ff.tar.gz
ansible-f1e82e00ca21d77c824cbb5dff465cabb8fc91ff.tar.xz
ansible-f1e82e00ca21d77c824cbb5dff465cabb8fc91ff.zip
set https so styles work
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
Diffstat (limited to 'roles/httpd')
-rw-r--r--roles/httpd/reverseproxy/templates/reversepassproxy.fas3.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.fas3.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.fas3.conf
index 2b1e505a0..1bf4359a5 100644
--- a/roles/httpd/reverseproxy/templates/reversepassproxy.fas3.conf
+++ b/roles/httpd/reverseproxy/templates/reversepassproxy.fas3.conf
@@ -1,3 +1,7 @@
ProxyPass {{localpath}} {{proxyurl}}{{remotepath}}
ProxyPassReverse {{localpath}} {{proxyurl}}{{remotepath}}
ProxyPreserveHost on
+
+# Set https so styles work
+RequestHeader set X-Forwarded-Scheme https early
+RequestHeader set X-Forwarded-Proto https early