g3proxy: rename .conf example conf to .yml

This commit is contained in:
Zhang Jingqiang 2023-08-21 14:43:26 +08:00
parent 2ad6b4d9ea
commit 570d58dadd
50 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,39 @@
---
runtime:
thread_number: 2
log: journal
controller:
local:
recv_timeout: 30
send_timeout: 1
server:
- name: test
escaper: default
type: http_rproxy
listen:
address: "[::]:10080"
conn_limit: 100M
hosts:
- exact_match: www.xjtu.edu.cn
upstream: www.xjtu.edu.cn:80
resolver:
- name: default
type: c-ares
server: 223.5.5.5
escaper:
- name: default
type: direct_fixed
no_ipv6: true
resolver: default
resolve_strategy: IPv4Only
tcp_conn_limit: 80M
udp_relay_limit: 10M
egress_network_filter:
default: allow
allow:
- 127.0.0.1