This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
config.yaml
64 lines (42 loc) · 1.71 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
collections:
# For Single Archive Collections: Specify CDX Path, url template and name
single_archive:
index_paths: 'http://web.archive.org/cdx/search/cdx'
archive_template: 'http://web.archive.org/web/{timestamp}id_/{url}'
archive_name: 'Internet Archive'
wb_handler_class: !!python/name:archivereplayview.ReplayHandler
# Memento Aggregator Collection: Specify paths to Timegate, Timemap
all:
index_paths:
# for LANL aggregator
#timegate: http://timetravel.mementoweb.org/api/json/
#timemap: http://labs.mementoweb.org/timemap/json/
# for local aggregator
timegate: http://netcapsule_nginx_1:1208/timenav/json/
timemap: http://netcapsule_nginx_1:1208/timemap/json/
server_cls: !!python/name:mementoquery.MementoIndexServer
wb_handler_class: !!python/name:archivereplayview.MementoHandler
head_insert_html: ./templates/blank.html
# fallback: live
live:
index_paths: $liveweb
# Specify memento archivelist XML
#memento_archive_xml: 'http://labs.mementoweb.org/aggregator_config/archivelist.xml'
memento_archive_json: '/archives.json'
#memento_archive_json: $ARCHIVE_JSON
reverse_proxy_prefix: http://netcapsule_nginx_1:1210/
buffer_response: false
#urlrewriter_class: !!python/name:archivereplayview.ReUrlRewriter
enable_cdx_api: true
framed_replay: false
redis_url: redis://netcapsule_redis_1:6379/0
enable_http_proxy: true
redir_to_exact: false
proxy_options:
enable_https_proxy: true
# Select one of these
#use_default_coll: 'single_archive'
use_default_coll: 'all'
cookie_resolver: ip
use_client_rewrite: false
use_banner: false