barbican/releasenotes/notes/http_proxy_to_wsgi-middleware-98dc4fe03eb362d3.yaml
Jeremy Liu c7e824e0e7 Use http_proxy_to_wsgi middleware
This sets up the HTTPProxyToWSGI middleware in front of Barbican.
The purpose of thise 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 Barbican.

The HTTPProxyToWSGI is off by default and needs to be enabled
via a configuration value.

Change-Id: Iad0151ca41684fa2d8eb60c343028e13c3719e66
Closes-bug: #1590608
2016-10-19 14:09:24 +08:00

13 lines
521 B
YAML

---
prelude: >
This release adds http_proxy_to_wsgi middleware to the pipeline.
features:
- The 'http_proxy_to_wsgi' middleware can be used to help barbican
respond with the correct URL refs when it's put behind a TLS
proxy (such as HAProxy). This middleware is disabled by default,
but can be enabled via a configuration option in the oslo_middleware
group.
upgrade:
- The barbican-api-paste.ini configuration file for the paste pipeline
was updated to add the http_proxy_to_wsgi middleware.