forked from internetarchive/liveweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
83 lines (57 loc) · 1.51 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[liveweb]
# User-Agent. Specifies the user-agent header sent by liveweb-proxy.
user-agent = liveweb-proxy/2.0
# Default value of timeout to use when individual timeouts are not specified.
#
# default-timeout = 10s
# DNS timeout.
#
# dns-timeout = 2s
# Max allowed time to receive HTTP status and headers
#
# initial-data_timout = 3s
# Specifies the read timeout. This indicates the idle time. If no data
# is received for more than this time, the request will fail.
#
# read-timeout = 1s
max-request-time = 2m
# Maximum allowed response size.
max-response-size = 100MB
# Output directory to write ARC/WRC files
output-directory = records
# Filename pattern. Uses python string substitution to replace
# keywords timestamp, serial, pid, fqdn and port.
filename-pattern = live-%(timestamp)s-%(serial)05d-%(fqdn)s-%(port)s.arc.gz
# The limit on the size of file, after which it
filesize-limit = 100MB
# Number of concurrent writers
#
# num-writers = 1
archive-type = arc
# Cache type.
# Supported options are redis and none.
#
cache = redis
# Redis parameters. Used when cache=redis.
#
# redis-host = localhost
# redis-port = 6379
# redis-db = 0
# Number of worker processes.
#
# workers = 1
# Number of threads per process
#
# threads = 10
# Listen address.
# Set it to empty to listen on all available interfaces.
#
# listen-address = 127.0.0.1
# Port to bind.
#
# port = 7070
# UWSGI settings
[uwsgi]
# The liveweb-proxy is run using uwsgi.
# You can specify uwsgi setting here.
# See uwsgi --help for more details.