commit 92fde856ee5b0292b8555431cf651c7c0dfc00de
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Mon Oct 10 09:46:14 2016 +0300
Add http_proxy_to_wsgi middleware to Heat CFN endpoint
This was already used in the API endpoint, but it's also needed in
the CFN endpoint. It's purpose is to process the X-Forwarded-Proto
header (or Proxy protocol if used) and set the protocol as directed
to https if done so. It's only needed if Heat is behind a TLS proxy
(such as HAProxy) and is also disabled by default.
Change-Id: Ibd81e1cf6bc1e3f63728b485e295478afa7f573c
Closes-Bug: #1590608
(cherry picked from commit 6ad6ca33e73686437098c3eec3d35efec0dd03ac)
Reviewed: https:/ /review. openstack. org/385766 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=92fde856ee5 b0292b8555431cf 651c7c0dfc00de
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 92fde856ee5b029 2b8555431cf651c 7c0dfc00de
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Mon Oct 10 09:46:14 2016 +0300
Add http_proxy_to_wsgi middleware to Heat CFN endpoint
This was already used in the API endpoint, but it's also needed in
the CFN endpoint. It's purpose is to process the X-Forwarded-Proto
header (or Proxy protocol if used) and set the protocol as directed
to https if done so. It's only needed if Heat is behind a TLS proxy
(such as HAProxy) and is also disabled by default.
Change-Id: Ibd81e1cf6bc1e3 f63728b485e2954 78afa7f573c 37098c3eec3d35e fec0dd03ac)
Closes-Bug: #1590608
(cherry picked from commit 6ad6ca33e736864