2016-08-17 03:42:08 +02:00
|
|
|
chihaya:
|
2016-08-03 10:25:45 +02:00
|
|
|
announce_interval: 15m
|
2016-08-05 09:35:17 +02:00
|
|
|
prometheus_addr: localhost:6880
|
2016-08-05 07:47:04 +02:00
|
|
|
|
2016-08-03 10:25:45 +02:00
|
|
|
http:
|
|
|
|
addr: 0.0.0.0:6881
|
2016-08-10 02:29:52 +02:00
|
|
|
allow_ip_spoofing: false
|
2016-08-03 10:25:45 +02:00
|
|
|
real_ip_header: x-real-ip
|
|
|
|
read_timeout: 5s
|
|
|
|
write_timeout: 5s
|
|
|
|
request_timeout: 5s
|
2016-08-05 07:47:04 +02:00
|
|
|
|
2016-08-03 10:25:45 +02:00
|
|
|
udp:
|
|
|
|
addr: 0.0.0.0:6881
|
2016-08-10 02:29:52 +02:00
|
|
|
allow_ip_spoofing: false
|
2016-09-28 04:02:26 +02:00
|
|
|
max_clock_skew: 10s
|
|
|
|
private_key: |
|
|
|
|
paste a random string here that will be used to hmac connection IDs
|
2016-08-05 07:47:04 +02:00
|
|
|
|
2016-08-03 10:25:45 +02:00
|
|
|
storage:
|
2016-08-17 02:32:38 +02:00
|
|
|
gc_interval: 14m
|
|
|
|
peer_lifetime: 15m
|
|
|
|
shards: 1
|
|
|
|
max_numwant: 100
|
2016-08-05 07:47:04 +02:00
|
|
|
|
2016-08-03 10:25:45 +02:00
|
|
|
prehooks:
|
|
|
|
- name: jwt
|
|
|
|
config:
|
2016-09-01 03:09:34 +02:00
|
|
|
issuer: https://issuer.com
|
|
|
|
audience: https://chihaya.issuer.com
|
2016-10-26 17:42:36 +02:00
|
|
|
jwk_set_url: https://issuer.com/keys
|
2016-08-03 10:25:45 +02:00
|
|
|
jwk_set_update_interval: 5m
|
2016-09-02 02:30:53 +02:00
|
|
|
- name: client approval
|
2016-08-03 10:25:45 +02:00
|
|
|
config:
|
2016-09-02 02:30:53 +02:00
|
|
|
whitelist:
|
2016-08-03 10:25:45 +02:00
|
|
|
- OP1011
|
2016-09-02 02:30:53 +02:00
|
|
|
blacklist:
|
|
|
|
- OP1012
|
2016-08-05 07:47:04 +02:00
|
|
|
|
2016-08-03 10:25:45 +02:00
|
|
|
posthooks:
|
2016-08-05 07:47:04 +02:00
|
|
|
- name: gossip
|
2016-08-10 02:29:52 +02:00
|
|
|
config:
|
|
|
|
boostrap_node: 127.0.0.1:6881
|