Browse Source

Fix wrong redirects for stack deletion

By default Heat API redirects DELETE requests to plain HTTP URI
(no matter whether original request was HTTP or HTTPS). Oslo.middleware
headers processing fixes the issue and API becomes consistent
in redirection processing.

Change-Id: Ifc5eb7f81a828329d1a34195a4ee7e1ccd7277e6
Ilya Shakhat 2 years ago
parent
commit
4d4c1209ea
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      service/files/heat.conf.j2

+ 3
- 0
service/files/heat.conf.j2 View File

@@ -58,6 +58,9 @@ backend = oslo_cache.memcache_pool
58 58
 enabled = True
59 59
 memcache_servers = {{ address('memcached', memcached.port) }}
60 60
 
61
+[oslo_middleware]
62
+enable_proxy_headers_parsing = true
63
+
61 64
 {# messaging macros template #}
62 65
 {{ oslo_messaging[messaging.backend.rpc]('rpc_config') }}
63 66
 {{ oslo_messaging[messaging.backend.notifications]('notifications_config') }}

Loading…
Cancel
Save