diff --git a/etc/cloudkitty/api_paste.ini b/etc/cloudkitty/api_paste.ini index 31990b5b..b09c35b8 100644 --- a/etc/cloudkitty/api_paste.ini +++ b/etc/cloudkitty/api_paste.ini @@ -1,5 +1,5 @@ [pipeline:main] -pipeline = cors request_id authtoken ck_api_v1 +pipeline = cors http_proxy_to_wsgi request_id authtoken ck_api_v1 [app:ck_api_v1] paste.app_factory = cloudkitty.api.app:app_factory @@ -14,3 +14,7 @@ paste.filter_factory = oslo_middleware:RequestId.factory [filter:cors] paste.filter_factory = oslo_middleware.cors:filter_factory oslo_config_project = cloudkitty + +[filter:http_proxy_to_wsgi] +paste.filter_factory = oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory +oslo_config_project = cloudkitty diff --git a/etc/oslo-config-generator/cloudkitty.conf b/etc/oslo-config-generator/cloudkitty.conf index 3b1a4c52..bde81446 100644 --- a/etc/oslo-config-generator/cloudkitty.conf +++ b/etc/oslo-config-generator/cloudkitty.conf @@ -5,6 +5,7 @@ namespace = oslo.concurrency namespace = oslo.db namespace = oslo.log namespace = oslo.messaging +namespace = oslo.middleware.http_proxy_to_wsgi namespace = oslo.middleware.cors namespace = oslo.policy -namespace = keystonemiddleware.auth_token +namespace = keystonemiddleware.auth_token \ No newline at end of file