mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 13:40:42 +00:00
g3proxy: rename .conf example conf to .yml
This commit is contained in:
parent
2ad6b4d9ea
commit
570d58dadd
50 changed files with 4 additions and 4 deletions
32
g3proxy/examples/simple_sni_proxy/g3proxy.yml
Normal file
32
g3proxy/examples/simple_sni_proxy/g3proxy.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
log: journal
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
server:
|
||||
- name: test
|
||||
escaper: default
|
||||
type: sni_proxy
|
||||
listen:
|
||||
address: "[::]:443"
|
||||
conn_limit: 100M
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue