mirror of
https://github.com/bytedance/g3.git
synced 2026-04-28 19:51:23 +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
35
g3proxy/examples/inspect_http_proxy/g3proxy.yaml
Normal file
35
g3proxy/examples/inspect_http_proxy/g3proxy.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
log: fluentd
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
auditor:
|
||||
- name: default
|
||||
protocol_inspection: {}
|
||||
tls_cert_generator: {}
|
||||
# icap_reqmod_service: icap://127.0.0.1:1344/echo
|
||||
|
||||
server:
|
||||
- name: http
|
||||
escaper: default
|
||||
auditor: default
|
||||
type: http_proxy
|
||||
listen:
|
||||
address: "[::]:8080"
|
||||
tls_client: {}
|
||||
|
||||
resolver:
|
||||
- name: default
|
||||
type: c-ares
|
||||
server: 127.0.0.1
|
||||
|
||||
escaper:
|
||||
- name: default
|
||||
type: direct_fixed
|
||||
resolver: default
|
||||
Loading…
Add table
Add a link
Reference in a new issue