Add staticweb to the default middleware list

This change adds the "staticweb" middleware to the default list of
middleware deployed.

Per http://docs.openstack.org/developer/swift/middleware.html#staticweb,
staticweb should be added to the pipeline just after any auth
middleware.

Change-Id: Ic8614ac7295751df9ad1e5ff235b84c0a0a7d252
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-05-24 13:20:07 -05:00 committed by Justin Shepherd
parent 69759b2152
commit 38b510c0d4
2 changed files with 10 additions and 0 deletions

View File

@ -73,6 +73,7 @@ swift_middleware_list:
- ratelimit
- authtoken
- keystoneauth
- staticweb
- container-quotas
- account-quotas
- slo

View File

@ -0,0 +1,9 @@
---
features:
- The ``os_swift`` role will now include the swift "staticweb" middleware
by default.
upgrade:
- When upgrading a Swift deployment from Mitaka to Newton it should be noted
that the enabled middleware list has changed. In Newton the "staticweb"
middleware will be loaded by default. While the change adds a feature it is
non-disruptive in upgrades.