From: Juan Antonio Osorio Robles Date: Tue, 22 Nov 2016 09:49:13 +0000 (+0200) Subject: Proxy manila in http mode X-Git-Tag: opnfv-6.0.0~472^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=a177abd03510970628b61781883225d210b2fb2d;p=apex-puppet-tripleo.git 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 --- 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 }',