Proxy manila in http mode
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 22 Nov 2016 09:49:13 +0000 (11:49 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 22 Nov 2016 09:52:41 +0000 (09:52 +0000)
It needs it so HAProxy will be able to set the X-Forwarded-Proto header.
Related-Bug: #1640126
Change-Id: I1726fa1742bc70518338b80fc6d27567bb020e7c

manifests/haproxy.pp

index 31a18bf..c08923a 100644 (file)
@@ -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 }',