mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 05:30:55 +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
25
g3proxy/examples/hybrid_user_auth/user-group.d/default.yaml
Normal file
25
g3proxy/examples/hybrid_user_auth/user-group.d/default.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: default
|
||||
static_users:
|
||||
- name: root
|
||||
# password: toor
|
||||
token:
|
||||
salt: 113323bdab6fd2cc
|
||||
md5: 5c81f2becadde7fa5fde9026652ccc84
|
||||
sha1: ff9d5c1a14328dd85ee95d4e574bd0558a1dfa96
|
||||
dst_port_filter:
|
||||
- 80
|
||||
- 443
|
||||
dst_host_filter_set:
|
||||
exact:
|
||||
# for ipinfo.io
|
||||
- ipinfo.io
|
||||
- 1.1.1.1
|
||||
child:
|
||||
# for myip.ipip.net
|
||||
- "ipip.net"
|
||||
regex:
|
||||
# for lumtest.com/myip.json
|
||||
- "lum[a-z]*[.]com$"
|
||||
source:
|
||||
type: file
|
||||
path: dynamic_users.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue