summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-05 16:43:11 +0000
committerGerrit Code Review <review@openstack.org>2016-01-05 16:43:12 +0000
commitb5a032e6e9cb6b0d952822b39c7341d929045cfc (patch)
treeab6d48248eec71c73a6f9fbbbfe71ce281de5de0 /manifests
parentd20f87fd0799246be551db47cf5cccafa55a3e18 (diff)
parent846b4fe0b82f861c3f6c637cdc5d7d9f052e4338 (diff)
Merge "Enable X-Forwarded-Proto header for keystone_public"
Diffstat (limited to 'manifests')
-rw-r--r--manifests/loadbalancer.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp
index 37c8c66..6820459 100644
--- a/manifests/loadbalancer.pp
+++ b/manifests/loadbalancer.pp
@@ -724,6 +724,10 @@ class tripleo::loadbalancer (
haproxy::listen { 'keystone_public':
bind => $keystone_public_bind_opts,
collect_exported => false,
+ mode => 'http', # Needed for http-request option
+ options => {
+ 'http-request' => ['set-header X-Forwarded-Proto https if { ssl_fc }'],
+ },
}
haproxy::balancermember { 'keystone_public':
listening_service => 'keystone_public',