Merge "Fix incorrect SSL redirect" into stable/mitaka
This commit is contained in:
commit
7a9393bfb0
|
@ -57,7 +57,7 @@ class openstack::ha::horizon (
|
|||
haproxy_config_options => {
|
||||
'option' => 'http-buffer-request',
|
||||
'timeout' => 'http-request 10s',
|
||||
'redirect' => 'scheme https if !{ ssl_fc }'
|
||||
'http-request' => 'redirect location https://%[req.hdr(Host)]/horizon',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ describe manifest do
|
|||
'haproxy_config_options' => {
|
||||
'option' => 'http-buffer-request',
|
||||
'timeout' => 'http-request 10s',
|
||||
'redirect' => 'scheme https if !{ ssl_fc }'
|
||||
'http-request' => 'redirect location https://%[req.hdr(Host)]/horizon',
|
||||
}
|
||||
)
|
||||
should_not contain_haproxy__balancermember('horizon')
|
||||
|
|
Loading…
Reference in New Issue