19c354aacd
This sets up the HTTPProxyToWSGI middleware in front of Neutron-API. The purpose of this middleware is to set up the request URL correctly in case there is a proxy (For instance, a loadbalancer such as HAProxy) in front of Neutron. So, for instance, when TLS connections are being terminated in the proxy, and one tries to get the versions from the / resource of Neutron, one will notice that the protocol is incorrect; It will show 'http' instead of 'https'. So this middleware handles such cases. Thus helping Keystone discovery work correctly. The HTTPProxyToWSGI is off by default and needs to be enabled via a configuration value. Change-Id: Ice9ee8f4e04050271d59858f92034c230325718b Closes-Bug: #1590608
12 lines
539 B
YAML
12 lines
539 B
YAML
---
|
|
features:
|
|
- Middleware was added to parse the X-Forwarded-Proto HTTP header or the
|
|
Proxy protocol in order to help neutron respond with the correct URL refs
|
|
when it's put behind a TLS proxy (such as HAProxy). This adds
|
|
http_proxy_to_wsgi middleware to the pipeline. This middleware is disabled
|
|
by default, but can be enabled via a configuration option in the
|
|
oslo_middleware group.
|
|
upgrade:
|
|
- The api-paste.ini configuration file for the paste pipeline was updated to
|
|
add the http_proxy_to_wsgi middleware.
|