diff --git a/etc/sahara/api-paste.ini b/etc/sahara/api-paste.ini index 5601274b..75fb01df 100644 --- a/etc/sahara/api-paste.ini +++ b/etc/sahara/api-paste.ini @@ -1,5 +1,5 @@ [pipeline:sahara] -pipeline = cors request_id acl auth_validator sahara_api +pipeline = cors http_proxy_to_wsgi request_id acl auth_validator sahara_api [composite:sahara_api] use = egg:Paste#urlmap @@ -31,3 +31,6 @@ paste.filter_factory = sahara.api.middleware.auth_valid:AuthValidator.factory [filter:debug] paste.filter_factory = oslo_middleware.debug:Debug.factory + +[filter:http_proxy_to_wsgi] +paste.filter_factory = oslo_middleware:HTTPProxyToWSGI.factory diff --git a/tools/config/config-generator.sahara.conf b/tools/config/config-generator.sahara.conf index 1d6b0fbe..b0ad3a13 100644 --- a/tools/config/config-generator.sahara.conf +++ b/tools/config/config-generator.sahara.conf @@ -7,6 +7,7 @@ namespace = oslo.db namespace = oslo.log namespace = oslo.messaging namespace = oslo.middleware.cors +namespace = oslo.middleware.http_proxy_to_wsgi namespace = oslo.policy namespace = oslo.service.periodic_task namespace = oslo.service.sslutils