mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 05:30:55 +00:00
initial commit
This commit is contained in:
commit
13716f4923
1425 changed files with 163227 additions and 0 deletions
42
g3proxy/examples/escaper_proxy_http/g3proxy.conf
Normal file
42
g3proxy/examples/escaper_proxy_http/g3proxy.conf
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
server:
|
||||
- name: server_direct
|
||||
escaper: direct
|
||||
type: http_proxy
|
||||
listen:
|
||||
address: "[::]:10087"
|
||||
conn_limit: 100M
|
||||
- name: server_http
|
||||
escaper: http
|
||||
type: http_proxy
|
||||
listen:
|
||||
address: "[::]:10086"
|
||||
|
||||
resolver:
|
||||
- name: default
|
||||
type: c-ares
|
||||
server: 223.5.5.5
|
||||
|
||||
escaper:
|
||||
- name: direct
|
||||
type: direct_fixed
|
||||
no_ipv6: true
|
||||
resolver: default
|
||||
resolve_strategy: IPv4Only
|
||||
tcp_conn_limit: 80M
|
||||
udp_relay_limit: 10M
|
||||
- name: http
|
||||
type: proxy_http
|
||||
proxy_addr: 127.0.0.1:10087
|
||||
no_ipv6: true
|
||||
resolver: default
|
||||
resolve_strategy: IPv4Only
|
||||
tcp_conn_limit: 80M
|
||||
Loading…
Add table
Add a link
Reference in a new issue