-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.yaml
72 lines (55 loc) · 1.68 KB
/
config.yaml
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
# web recorder bootstrap (run-recorder.py) config settings
# ========================================
#
recorder:
record_dir: &record_dir ./recording/
record_cdx: &record_cdx ./recording/index.cdx
done_dir: &done_dir ./done/
done_cdx: &done_cdx ./done/index.cdx
dedup_db: ./dedup.db
proxy: &proxyhostport http://localhost:9001
update_freq: 5
recorder_exec: 'warcprox -z -p 9001 -d ./recording/ --rollover-idle-time 60 -j ./dedup.db --read-buff-size 1000000 -n rec --certs-dir ./certs/ --base32 --cacert ./ca-cert.pem'
pywb_exec: 'uwsgi uwsgi.ini'
# pywb config settings
# ========================================
#
collections:
# /record/ end point, liveweb via recording proxy
record:
index_paths: $liveweb
proxyhostport: *proxyhostport
cookie_scope: root
# /live/ end point, liveweb without proxy
live:
index_paths: $liveweb
cookie_scope: root
rewrite_opts:
rewrite_base: true
rewrite_rel_canon: false
# /replay/ end point, replay recorded content ONLY
# with fallback to record
replay:
index_paths:
- *record_cdx
- *done_cdx
enable_cdx_api: true
enable_memento: true
# /replay-rec/ end point, replay recorded content AND
# auto-record anything that's missing
replay-record:
index_paths:
- *record_cdx
- *done_cdx
fallback: record
verify_ssl: false
live-cookie: false
# Shared pywb settings
archive_paths:
- *record_dir
- *done_dir
# Custom html templates
home_html: ./html/index.html
error_html: ./html/error.html
framed_replay: false
enable_memento: false