mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 13:40:42 +00:00
initial commit
This commit is contained in:
commit
13716f4923
1425 changed files with 163227 additions and 0 deletions
26
g3proxy/examples/dynamic_from_redis/g3proxy.conf
Normal file
26
g3proxy/examples/dynamic_from_redis/g3proxy.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
server:
|
||||
- name: http
|
||||
escaper: dispatch
|
||||
type: http_proxy
|
||||
server_id: test_dynamic
|
||||
listen:
|
||||
address: "[::]:10086"
|
||||
conn_limit: 100M
|
||||
echo_chained_info: true
|
||||
|
||||
escaper:
|
||||
- name: dispatch
|
||||
type: proxy_float
|
||||
source:
|
||||
type: redis
|
||||
addr: '127.0.0.1:6379'
|
||||
sets_key: test
|
||||
Loading…
Add table
Add a link
Reference in a new issue