Cinder list with pagination contains wrong scheme
for 'next' link in case of SSL endpoints. This
patch fixes it and returns the correct scheme in
version URLs if service is behind an SSL termination
proxy.
To work properly the patch it should add the line indicated
below into /etc/haproxy/conf.d/070-cinder-api.cfg
"http-request set-header X-Forwarded-Proto https if { ssl_fc }"
Reviewed: https:/ /review. fuel-infra. org/19595 ci/fuel- 7.0/2015. 1.0
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 1def89d73dde78f 3e579e1f30df1df 645a91f6cb
Author: Yuriy Nesenenko <email address hidden>
Date: Thu Apr 14 11:12:01 2016
Handle SSL termination proxies for version list
Cinder list with pagination contains wrong scheme
for 'next' link in case of SSL endpoints. This
patch fixes it and returns the correct scheme in
version URLs if service is behind an SSL termination
proxy.
To work properly the patch it should add the line indicated conf.d/ 070-cinder- api.cfg
below into /etc/haproxy/
"http-request set-header X-Forwarded-Proto https if { ssl_fc }"
Change-Id: If4ad49ea87b8fa 7a0fb245eddbc01 3d01cbc79eb
Closes-Bug: #1569355