1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
pywb/tests/config_test.yaml
Ilya Kreymer 1dbabef410 config: custom rules.yaml support and config improvements (addresses #176) (#257)
- allow custom 'rules.yaml' to be specified via 'rules_file' config entry,
and used by FuzzyMatcher and DefaultRewriter
- default rules file specified by DEFAULT_RULES_FILE in pywb package
- 'archive_paths' is the key for archive paths instead of 'resource'
- 'use_js_obj_proxy' not auto-added to metadata, just set per-deployment
2017-10-18 10:39:18 -07:00

42 lines
699 B
YAML

# pywb config file
debug: true
use_js_obj_proxy: true
collections_root: _test_colls
collections:
pywb:
index: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
# live collection
live: $live
# coll with fallback
pywb-fallback:
sequence:
-
index: ./sample_archive/cdx/
name: local
-
index: $live
#pywb-norange:
# index_paths: ./sample_archive/cdx/
# enable_ranges: false
pywb-cdxj:
index_paths: ./sample_archive/cdxj/
archive_paths:
- ./invalid/path/to/ignore/
- ./sample_archive/warcs/
- archive
enable_memento: true