diff --git a/etc/aodh/api_paste.ini b/etc/aodh/api_paste.ini index fdfca9118..756db34f2 100644 --- a/etc/aodh/api_paste.ini +++ b/etc/aodh/api_paste.ini @@ -5,7 +5,7 @@ # Remove authtoken from the pipeline if you don't want to use keystone authentication [pipeline:main] -pipeline = cors request_id authtoken api-server +pipeline = cors http_proxy_to_wsgi request_id authtoken api-server [app:api-server] paste.app_factory = aodh.api.app:app_factory @@ -19,4 +19,8 @@ paste.filter_factory = oslo_middleware:RequestId.factory [filter:cors] paste.filter_factory = oslo_middleware.cors:filter_factory -oslo_config_project = aodh \ No newline at end of file +oslo_config_project = aodh + +[filter:http_proxy_to_wsgi] +paste.filter_factory = oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory +oslo_config_project = aodh