Merge "Add passing of X-Forwarded-Proto to Glance API endpoint"
This commit is contained in:
commit
c4360efdc8
@ -602,6 +602,12 @@ class tripleo::haproxy (
|
||||
ip_addresses => hiera('glance_api_node_ips', $controller_hosts_real),
|
||||
server_names => $controller_hosts_names_real,
|
||||
public_ssl_port => $ports[glance_api_ssl_port],
|
||||
mode => 'http',
|
||||
listen_options => {
|
||||
'http-request' => [
|
||||
'set-header X-Forwarded-Proto https if { ssl_fc }',
|
||||
'set-header X-Forwarded-Proto http if !{ ssl_fc }'],
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user