From a177abd03510970628b61781883225d210b2fb2d Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Tue, 22 Nov 2016 11:49:13 +0200 Subject: 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 --- manifests/haproxy.pp | 1 + 1 file changed, 1 insertion(+) 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 }', -- cgit 1.2.3-korg