Enable proxy header parsing for heat
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 27 May 2016 07:07:54 +0000 (10:07 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 27 May 2016 07:07:54 +0000 (10:07 +0300)
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

puppet/services/heat-base.yaml

index 50fcbf5..8617df2 100644 (file)
@@ -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