mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 23:41:57 +00:00
g3proxy: default to use yaml conf file extension
This commit is contained in:
parent
1530f4ce17
commit
d58bd61d28
89 changed files with 21 additions and 21 deletions
33
g3proxy/examples/simple_tcp_stream/g3proxy.yaml
Normal file
33
g3proxy/examples/simple_tcp_stream/g3proxy.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
server:
|
||||
- name: test
|
||||
escaper: default
|
||||
type: tcp_stream
|
||||
listen:
|
||||
address: "[::1]:10086"
|
||||
proxy_pass: "127.0.0.1:5201"
|
||||
conn_limit: 100M
|
||||
|
||||
resolver:
|
||||
- name: default
|
||||
type: c-ares
|
||||
server: 223.5.5.5
|
||||
|
||||
escaper:
|
||||
- name: default
|
||||
type: direct_fixed
|
||||
bind_ip: "127.0.0.1"
|
||||
resolver: default
|
||||
tcp_conn_limit: 80M
|
||||
egress_network_filter:
|
||||
default: forbid
|
||||
permit:
|
||||
- 127.0.0.1
|
||||
Loading…
Add table
Add a link
Reference in a new issue