commit 29807237cb87e337f95cc2c46cf434b09515a9b3
Author: Pablo Andres Fuente <email address hidden>
Date: Fri Dec 27 10:07:04 2013 -0300
New middleware to handle SSL termination proxies
The Heat API doesn't behave properly if it is behind an SSL termination
proxy. If this is the case, the HTTP redirections and the links
returned in the REST response bodies are build using http protocol
instead of https.
To handle this situation, a new middleware was added. The purpose of the
SSLMiddleware is to update the wsgi.url_scheme environment variable of
the request with the value contained in an HTTP header that can be
configured in heat.conf (by default: 'X-Forwarded-Proto')
Reviewed: https:/ /review. openstack. org/64142 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=29807237cb8 7e337f95cc2c46c f434b09515a9b3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 29807237cb87e33 7f95cc2c46cf434 b09515a9b3
Author: Pablo Andres Fuente <email address hidden>
Date: Fri Dec 27 10:07:04 2013 -0300
New middleware to handle SSL termination proxies
The Heat API doesn't behave properly if it is behind an SSL termination
proxy. If this is the case, the HTTP redirections and the links
returned in the REST response bodies are build using http protocol
instead of https.
To handle this situation, a new middleware was added. The purpose of the Proto')
SSLMiddleware is to update the wsgi.url_scheme environment variable of
the request with the value contained in an HTTP header that can be
configured in heat.conf (by default: 'X-Forwarded-
Change-Id: I418cd8cf2fb2a5 fb3f630b4945084 fb6eab57310
Closes-Bug: #1235555