~ubuntu-branches/ubuntu/trusty/swift/trusty-updates

« back to all changes in this revision

Viewing changes to etc/proxy-server.conf-sample

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-08-13 10:37:13 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20130813103713-1ctbx4zifyljs2aq
Tags: 1.9.1-0ubuntu1
[ James Page ]
* d/control: Update VCS fields for new branch locations.

[ Chuck Short ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# bind_timeout = 30
5
5
# backlog = 4096
6
6
# swift_dir = /etc/swift
7
 
# workers = 1
8
7
# user = swift
9
8
#
 
9
# Use an integer to override the number of pre-forked processes that will
 
10
# accept connections.  Should default to the number of effective cpu
 
11
# cores in the system.  It's worth noting that individual workers will
 
12
# use many eventlet co-routines to service multiple concurrent requests.
 
13
# workers = auto
 
14
#
 
15
# Maximum concurrent requests per worker
 
16
# max_clients = 1024
 
17
#
10
18
# Set the following two lines to enable SSL. This is for testing only.
11
19
# cert_file = /etc/swift/proxy.crt
12
20
# key_file = /etc/swift/proxy.key
17
25
# log_name = swift
18
26
# log_facility = LOG_LOCAL0
19
27
# log_level = INFO
20
 
# log_headers = False
 
28
# log_headers = false
21
29
# log_address = /dev/log
22
30
#
23
31
# This optional suffix (default is empty) that would be appended to the swift transaction
46
54
#
47
55
# client_timeout = 60
48
56
# eventlet_debug = false
49
 
# max_clients = 1024
50
57
 
51
58
[pipeline:main]
52
 
pipeline = catch_errors healthcheck proxy-logging cache slo ratelimit tempauth container-quotas account-quotas proxy-logging proxy-server
 
59
pipeline = catch_errors healthcheck proxy-logging cache bulk slo ratelimit tempauth container-quotas account-quotas proxy-logging proxy-server
53
60
 
54
61
[app:proxy-server]
55
62
use = egg:swift#proxy
59
66
# set log_level = INFO
60
67
# set log_address = /dev/log
61
68
#
62
 
# log_handoffs = True
 
69
# log_handoffs = true
63
70
# recheck_account_existence = 60
64
71
# recheck_container_existence = 60
65
72
# object_chunk_size = 8192
133
140
# be set to false if slo is not used in pipeline.
134
141
# allow_static_large_object = true
135
142
#
 
143
# The maximum time (seconds) that a large object connection is allowed to last.
 
144
# max_large_object_get_time = 86400
 
145
#
136
146
# Set to the number of nodes to contact for a normal request. You can use
137
147
# '* replicas' at the end to have it use the number given times the number of
138
148
# replicas for the ring being used for the request.
174
184
# set log_name = tempauth
175
185
# set log_facility = LOG_LOCAL0
176
186
# set log_level = INFO
177
 
# set log_headers = False
 
187
# set log_headers = false
178
188
# set log_address = /dev/log
179
189
#
180
190
# The reseller prefix will verify a token begins with this prefix before even
261
271
# set log_name = cache
262
272
# set log_facility = LOG_LOCAL0
263
273
# set log_level = INFO
264
 
# set log_headers = False
 
274
# set log_headers = false
265
275
# set log_address = /dev/log
266
276
#
267
277
# If not set here, the value for memcache_servers will be read from
288
298
# set log_name = ratelimit
289
299
# set log_facility = LOG_LOCAL0
290
300
# set log_level = INFO
291
 
# set log_headers = False
 
301
# set log_headers = false
292
302
# set log_address = /dev/log
293
303
#
294
304
# clock_accuracy should represent how accurate the proxy servers' system clocks
326
336
# set log_name = domain_remap
327
337
# set log_facility = LOG_LOCAL0
328
338
# set log_level = INFO
329
 
# set log_headers = False
 
339
# set log_headers = false
330
340
# set log_address = /dev/log
331
341
#
332
342
# storage_domain = example.com
339
349
# set log_name = catch_errors
340
350
# set log_facility = LOG_LOCAL0
341
351
# set log_level = INFO
342
 
# set log_headers = False
 
352
# set log_headers = false
343
353
# set log_address = /dev/log
344
354
 
345
355
[filter:cname_lookup]
349
359
# set log_name = cname_lookup
350
360
# set log_facility = LOG_LOCAL0
351
361
# set log_level = INFO
352
 
# set log_headers = False
 
362
# set log_headers = false
353
363
# set log_address = /dev/log
354
364
#
355
365
# storage_domain = example.com
420
430
# access_log_statsd_default_sample_rate = 1.0
421
431
# access_log_statsd_sample_rate_factor = 1.0
422
432
# access_log_statsd_metric_prefix =
423
 
# access_log_headers = False
 
433
# access_log_headers = false
 
434
#
 
435
# By default, the X-Auth-Token is logged. To obscure the value,
 
436
# set reveal_sensitive_prefix to the number of characters to log.
 
437
# For example, if set to 12, only the first 12 characters of the
 
438
# token appear in the log. An unauthorized access of the log file
 
439
# won't allow unauthorized usage of the token. However, the first
 
440
# 12 or so characters is unique enough that you can trace/debug
 
441
# token usage. Set to 0 to suppress the token completely (replaced
 
442
# by '...' in the log).
 
443
# Note: reveal_sensitive_prefix will not affect the value
 
444
# logged with access_log_headers=True.
 
445
# reveal_sensitive_prefix = 8192
424
446
#
425
447
# What HTTP methods are allowed for StatsD logging (comma-sep); request methods
426
448
# not in this list will have "BAD_METHOD" for the <verb> portion of the metric.