commit 513d717d283e511f1a569a760addbbb1bac3970b
Author: Stuart McLaren <email address hidden>
Date: Fri Mar 18 15:42:15 2016 +0000
Handle SSL termination proxies for version list
Return correct scheme in version URLs if service
behind an SSL termination proxy.
This is done by adding a new configuration option,
secure_proxy_ssl_header, which, when defined, makes
the wsgi application take the host_url scheme from
that header. By default, when this option is not
specified, there is no difference in behavior.
The intention is to configure any ssl-decrypting
proxy to set that header, so that glance-api knows
which protocol to use in the URLs in response.
Reviewed: https:/ /review. openstack. org/294681 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=513d717d283 e511f1a569a760a ddbbb1bac3970b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 513d717d283e511 f1a569a760addbb b1bac3970b
Author: Stuart McLaren <email address hidden>
Date: Fri Mar 18 15:42:15 2016 +0000
Handle SSL termination proxies for version list
Return correct scheme in version URLs if service
behind an SSL termination proxy.
This is done by adding a new configuration option, proxy_ssl_ header, which, when defined, makes
secure_
the wsgi application take the host_url scheme from
that header. By default, when this option is not
specified, there is no difference in behavior.
The intention is to configure any ssl-decrypting
proxy to set that header, so that glance-api knows
which protocol to use in the URLs in response.
This patch is largely based on the equivalent /review. openstack. org/#/c/ 206479.
nova patch: https:/
Partial-bug: 1558683
Change-Id: I9a9c0e42a6ad3c 18d197f10095958 b48d5cb879a