Fix staticweb middleware position in the pipeline

Listing objects in a container fails using the CLI if the staticweb middleware
is located before the Keystone middlewares. The staticweb is by default only
enabled for anonymous requests, thus currently all requests will be handled by
the staticweb middleware instead of the proxy server.

Placing the middleware after the authentication middlewares prevents this.

Change-Id: I123959cf2e45143e91a997cda16b8aac50aaea08
This commit is contained in:
Christian Schwede
2015-01-28 15:19:46 +01:00
parent 81d98138e6
commit 856d869a04

View File

@@ -102,7 +102,7 @@ class cloud::object::controller(
pipeline => [
'catch_errors', 'healthcheck', 'cache', 'bulk', 'ratelimit',
'swift3', 's3token', 'container_quotas', 'account_quotas', 'tempurl',
'formpost', 'staticweb', 'ceilometer', 'authtoken', 'keystone',
'formpost', 'ceilometer', 'authtoken', 'keystone', 'staticweb',
'proxy-logging', 'proxy-server'],
account_autocreate => true,
log_level => 'DEBUG',