forked from tarampampam/mikrotik-hosts-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserve.yml
92 lines (88 loc) · 2.8 KB
/
serve.yml
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
83
84
85
86
87
88
89
90
91
92
# http server configuration
listen:
# hostname or IP address for listening
address: ${LISTEN_ADDR:-0.0.0.0}
# port number to listen
port: ${LISTEN_PORT:-8080}
# public resources settings
resources:
# path to the directory with public assets
dir: ${RESOURCES_DIR}
# index file name (content from this file will be used as directory index)
index_name: index.html
# file name with 404 error page content
error_404_name: 404.html
# provided sources configuration (for usage in frontend using API request)
sources:
- uri: https://cdn.jsdelivr.net/gh/tarampampam/mikrotik-hosts-parser@master/.hosts/basic.txt
name: Basic hosts list
description: AD hosts list, provided by this application
enabled: true
- uri: https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
name: WindowsSpyBlocker
description: Windows telemetry services
enabled: false
count: 360
- uri: https://adaway.org/hosts.txt
name: AdAway default blocklist
description: Blocking mobile ad providers and some analytics providers
enabled: true
count: 400
- uri: https://www.malwaredomainlist.com/hostslist/hosts.txt
name: Malware domain list
enabled: true
count: 1100
- uri: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext
name: AD servers by yoyo.org
description: Block ads, trackers, and other nasty things
enabled: true
count: 3000
- uri: https://someonewhocares.org/hosts/hosts
name: someonewhocares.org
description: AD servers list by Dan Pollock
enabled: false
count: 14500
- uri: http://winhelp2002.mvps.org/hosts.txt
name: winhelp2002.mvps.org
description: MVPS HOSTS file
enabled: false
count: 12000
- uri: https://hosts-file.net/ad_servers.txt
name: hpHosts
description: Ad and Tracking servers only
enabled: false
count: 46000
# caching settings
cache:
# file-based cache
files:
# path to the directory for cache files
dir: ${TMPDIR:-/tmp}
# cached entries lifetime duration (in seconds)
lifetime_sec: ${CACHE_LIFETIME_SEC:-1800}
# router script generation settings
router_script:
# default requests redirection
redirect:
address: 127.0.0.1
# default excluding settings
exclude:
# this hosts will be excluded by default (will be set only in UI)
hosts:
- localhost
- localhost.localdomain
- broadcasthost
- local
- ip6-localhost
- ip6-loopback
- ip6-localnet
- ip6-mcastprefix
- ip6-allnodes
- ip6-allrouters
- ip6-allhosts
# router script entries comment
comment: ADBlock
# maximal external sources count
max_sources: ${MAX_SOURCES_COUNT:-10}
# maximal external source size (in bytes; 2048 Kb by default)
max_source_size: ${MAX_SOURCES_SIZE:-2097152}