Advertisement
Guest User

Swift proxy config

a guest
Nov 12th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. [DEFAULT]
  2. bind_port = 8080
  3. workers = 8
  4. user = swift
  5.  
  6. [pipeline:main]
  7. pipeline = healthcheck cache authtoken keystoneauth proxy-server
  8.  
  9. [app:proxy-server]
  10. use = egg:swift#proxy
  11. allow_account_management = true
  12. account_autocreate = true
  13.  
  14. [filter:keystoneauth]
  15. use = egg:swift#keystoneauth
  16. operator_roles = admin,_member_
  17.  
  18. [filter:authtoken]
  19. paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
  20.  
  21. # Delaying the auth decision is required to support token-less
  22. # usage for anonymous referrers ('.r:*').
  23. delay_auth_decision = true
  24.  
  25. # cache directory for signing certificate
  26. signing_dir = /home/swift/keystone-signing
  27.  
  28. # auth_* settings refer to the Keystone server
  29. auth_protocol = http
  30. auth_host = 192.168.3.100
  31. auth_port = 35357
  32. auth_uri = http://192.168.3.100:5000/
  33.  
  34. # the same admin_token as provided in keystone.conf
  35. admin_token = pass
  36.  
  37. # the service tenant and swift userid and password created in Keystone
  38. admin_tenant_name = service
  39. admin_user = swift
  40. admin_password = swift
  41.  
  42. [filter:cache]
  43. use = egg:swift#memcache
  44. memcache_servers = 192.168.3.111:11211,192.168.3.211:11211
  45.  
  46. [filter:catch_errors]
  47. use = egg:swift#catch_errors
  48.  
  49. [filter:healthcheck]
  50. use = egg:swift#healthcheck
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement