Created
June 8, 2021 01:40
-
-
Save ywkaras/421b5190456fa029d1f030e22a0fc3dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
records.config: | |
CONFIG proxy.config.http.wait_for_cache INT 1 | |
CONFIG proxy.config.http.server_ports STRING 61026 61027:ipv6 | |
CONFIG proxy.config.dns.nameservers STRING 127.0.0.1:61001 | |
CONFIG proxy.config.dns.resolv_conf STRING NULL | |
CONFIG proxy.config.http.cache.http INT 1 | |
CONFIG proxy.config.http.cache.required_headers INT 0 | |
CONFIG proxy.config.http.uncacheable_requests_bypass_parent INT 0 | |
CONFIG proxy.config.http.no_dns_just_forward_to_parent INT 1 | |
CONFIG proxy.config.http.parent_proxy.mark_down_hostdb INT 0 | |
CONFIG proxy.config.http.parent_proxy.self_detect INT 1 | |
remap.config: | |
map http://dummy.com http://not_used @strategy=the-strategy | |
map http://not_used http://also_not_used @strategy=the-strategy | |
strategies.yaml: | |
groups: | |
- &peer_group | |
- host: ts_peer0 | |
protocol: | |
- scheme: http | |
port: 61026 | |
weight: 1.0 | |
- host: ts_peer1 | |
protocol: | |
- scheme: http | |
port: 61030 | |
weight: 1.0 | |
- host: ts_peer2 | |
protocol: | |
- scheme: http | |
port: 61034 | |
weight: 1.0 | |
- host: ts_peer3 | |
protocol: | |
- scheme: http | |
port: 61038 | |
weight: 1.0 | |
- host: ts_peer4 | |
protocol: | |
- scheme: http | |
port: 61042 | |
weight: 1.0 | |
- host: ts_peer5 | |
protocol: | |
- scheme: http | |
port: 61046 | |
weight: 1.0 | |
- host: ts_peer6 | |
protocol: | |
- scheme: http | |
port: 61050 | |
weight: 1.0 | |
- host: ts_peer7 | |
protocol: | |
- scheme: http | |
port: 61054 | |
weight: 1.0 | |
- &peer_upstream | |
- host: ts_upstream0 | |
protocol: | |
- scheme: http | |
port: 61002 | |
weight: 1.0 | |
- host: ts_upstream1 | |
protocol: | |
- scheme: http | |
port: 61006 | |
weight: 1.0 | |
- host: ts_upstream2 | |
protocol: | |
- scheme: http | |
port: 61010 | |
weight: 1.0 | |
- host: ts_upstream3 | |
protocol: | |
- scheme: http | |
port: 61014 | |
weight: 1.0 | |
- host: ts_upstream4 | |
protocol: | |
- scheme: http | |
port: 61018 | |
weight: 1.0 | |
- host: ts_upstream5 | |
protocol: | |
- scheme: http | |
port: 61022 | |
weight: 1.0 | |
strategies: | |
- strategy: the-strategy | |
policy: consistent_hash | |
hash_key: path | |
go_direct: false | |
parent_is_proxy: true | |
cache_peer_result: false | |
ignore_self_detect: false | |
groups: | |
- *peer_group | |
- *peer_upstream | |
scheme: http | |
failover: | |
ring_mode: peering_ring |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment