aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-11-22 11:49:13 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-11-22 09:52:41 +0000
commita177abd03510970628b61781883225d210b2fb2d (patch)
tree88a545fd4db8b79d0169fd3675595989dea5394b
parent255ea29cd425f096a22c000ecdc9e594cacdd36c (diff)
Proxy manila in http mode
It needs it so HAProxy will be able to set the X-Forwarded-Proto header. Related-Bug: #1640126 Change-Id: I1726fa1742bc70518338b80fc6d27567bb020e7c
-rw-r--r--manifests/haproxy.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/haproxy.pp b/manifests/haproxy.pp
index 31a18bf..c08923a 100644
--- a/manifests/haproxy.pp
+++ b/manifests/haproxy.pp
@@ -821,6 +821,7 @@ class tripleo::haproxy (
service_port => $ports[manila_api_port],
ip_addresses => hiera('manila_api_node_ips', $controller_hosts_real),
server_names => hiera('manila_api_node_names', $controller_hosts_names_real),
+ mode => 'http',
listen_options => {
'http-request' => [
'set-header X-Forwarded-Proto https if { ssl_fc }',