~james-page/charms/trusty/swift-proxy/trunk

« back to all changes in this revision

Viewing changes to templates/havana/proxy-server.conf

  • Committer: James Page
  • Date: 2016-01-19 14:46:01 UTC
  • mfrom: (134.1.1 stable.remote)
  • Revision ID: james.page@ubuntu.com-20160119144601-66bdh4r0va0pn9og
Fix liberty/mitaka typo from previous test definition update batch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[DEFAULT]
 
2
bind_port = {{ bind_port }}
 
3
workers = {{ workers }}
 
4
user = swift
 
5
{% if ssl %}
 
6
cert_file = {{ ssl_cert }}
 
7
key_file = {{ ssl_key }}
 
8
{% endif %}
 
9
 
 
10
{% if auth_type == 'keystone' %}
 
11
[pipeline:main]
 
12
pipeline =  healthcheck cache swift3 authtoken keystoneauth container-quotas account-quotas proxy-server
 
13
{% else %}
 
14
[pipeline:main]
 
15
pipeline = healthcheck cache tempauth container-quotas account-quotas proxy-server
 
16
{% endif %}
 
17
 
 
18
[app:proxy-server]
 
19
use = egg:swift#proxy
 
20
allow_account_management = true
 
21
{% if auth_type == 'keystone' %}account_autocreate = true{% endif %}
 
22
node_timeout = {{ node_timeout }}
 
23
recoverable_node_timeout = {{ recoverable_node_timeout }}
 
24
 
 
25
[filter:tempauth]
 
26
use = egg:swift#tempauth
 
27
user_system_root = testpass .admin https://{{ proxy_ip }}:8080/v1/AUTH_system
 
28
 
 
29
[filter:healthcheck]
 
30
use = egg:swift#healthcheck
 
31
 
 
32
[filter:cache]
 
33
use = egg:swift#memcache
 
34
memcache_servers = {{ proxy_ip }}:11211
 
35
 
 
36
[filter:account-quotas]
 
37
use = egg:swift#account_quotas
 
38
 
 
39
[filter:container-quotas]
 
40
use = egg:swift#container_quotas
 
41
 
 
42
{% if auth_type == 'keystone' %}
 
43
[filter:keystoneauth]
 
44
use = egg:swift#keystoneauth
 
45
operator_roles = {{ operator_roles }}
 
46
 
 
47
[filter:authtoken]
 
48
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
 
49
auth_host = {{ keystone_host }}
 
50
auth_port = {{ auth_port }}
 
51
auth_protocol = {{ auth_protocol }}
 
52
auth_uri = {{ auth_protocol }}://{{ keystone_host }}:{{ service_port }}
 
53
admin_tenant_name = {{ service_tenant }}
 
54
admin_user = {{ service_user }}
 
55
admin_password = {{ service_password }}
 
56
delay_auth_decision = {{ delay_auth_decision|lower }}
 
57
signing_dir = /etc/swift
 
58
cache = swift.cache
 
59
 
 
60
[filter:s3token]
 
61
paste.filter_factory = keystone.middleware.s3_token:filter_factory
 
62
service_host = {{ keystone_host }}
 
63
service_port = {{ service_port }}
 
64
service_protocol = {{ service_protocol }}
 
65
auth_port = {{ auth_port }}
 
66
auth_host = {{ keystone_host }}
 
67
auth_protocol = {{ auth_protocol }}
 
68
auth_token = {{ admin_token }}
 
69
admin_token = {{ admin_token }}
 
70
 
 
71
[filter:swift3]
 
72
use = egg:swift3#swift3
 
73
{% endif %}