From: Juan Antonio Osorio Robles Date: Fri, 27 May 2016 07:07:54 +0000 (+0300) Subject: Enable proxy header parsing for heat X-Git-Tag: opnfv-6.0.0~1982^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5a9ea978a68e36a48e9e7963099875b3076e7f5d;p=apex-tripleo-heat-templates.git Enable proxy header parsing for heat For handling the X-Forwarded-Proto, heat uses the http_proxy_to_wsgi middleware from oslo.middleware. It used to work by default, but now configuration is required to enable that. We require it since we are effectively behind a proxy (HAProxy). Change-Id: I256f27ec6a3f66316ff6aa3f78b2f1ec1472f097 --- diff --git a/puppet/services/heat-base.yaml b/puppet/services/heat-base.yaml index 50fcbf59..8617df27 100644 --- a/puppet/services/heat-base.yaml +++ b/puppet/services/heat-base.yaml @@ -37,3 +37,4 @@ outputs: heat::rabbit_use_ssl: {get_param: RabbitClientUseSSL} heat::rabbit_port: {get_param: RabbitClientPort} heat::debug: {get_param: Debug} + heat::enable_proxy_headers_parsing: true