mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
- 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
42 lines
699 B
YAML
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
|
|
|