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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user