docs: update README

This commit is contained in:
Toby 2022-01-09 18:28:13 -08:00
parent c13edfb56f
commit fb5b21a880
2 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,7 @@ encryption. If you need a proxy, just use our proxy modes.
"down_mbps": 100, // Max download Mbps per client "down_mbps": 100, // Max download Mbps per client
"disable_udp": false, // Disable UDP support "disable_udp": false, // Disable UDP support
"acl": "my_list.acl", // See ACL below "acl": "my_list.acl", // See ACL below
"mmdb": "GeoLite2-Country.mmdb", // MaxMind database for ACL country lookups
"obfs": "AMOGUS", // Obfuscation password "obfs": "AMOGUS", // Obfuscation password
"auth": { // Authentication "auth": { // Authentication
"mode": "password", // Mode, supports "password" "none" and "external" for now "mode": "password", // Mode, supports "password" "none" and "external" for now
@ -318,6 +319,7 @@ hysteria_traffic_uplink_bytes_total{auth="aGFja2VyISE="} 37452
"timeout": 60 // UDP session timeout in seconds "timeout": 60 // UDP session timeout in seconds
}, },
"acl": "my_list.acl", // See ACL below "acl": "my_list.acl", // See ACL below
"mmdb": "GeoLite2-Country.mmdb", // MaxMind database for ACL country lookups
"obfs": "AMOGUS", // Obfuscation password "obfs": "AMOGUS", // Obfuscation password
"auth": "[BASE64]", // Authentication payload in Base64 "auth": "[BASE64]", // Authentication payload in Base64
"auth_str": "yubiyubi", // Authentication payload in string, mutually exclusive with the option above "auth_str": "yubiyubi", // Authentication payload in string, mutually exclusive with the option above

View File

@ -160,6 +160,7 @@ Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网
"down_mbps": 100, // 单客户端最大下载速度 "down_mbps": 100, // 单客户端最大下载速度
"disable_udp": false, // 禁用 UDP 支持 "disable_udp": false, // 禁用 UDP 支持
"acl": "my_list.acl", // 见下文 ACL "acl": "my_list.acl", // 见下文 ACL
"mmdb": "GeoLite2-Country.mmdb", // MaxMind IP 库 (ACL)
"obfs": "AMOGUS", // 混淆密码 "obfs": "AMOGUS", // 混淆密码
"auth": { // 验证 "auth": { // 验证
"mode": "password", // 验证模式,暂时只支持 "password" 与 "none" "mode": "password", // 验证模式,暂时只支持 "password" 与 "none"
@ -303,6 +304,7 @@ hysteria_traffic_uplink_bytes_total{auth="aGFja2VyISE="} 37452
"timeout": 60 // UDP 超时秒数 "timeout": 60 // UDP 超时秒数
}, },
"acl": "my_list.acl", // 见下文 ACL "acl": "my_list.acl", // 见下文 ACL
"mmdb": "GeoLite2-Country.mmdb", // MaxMind IP 库 (ACL)
"obfs": "AMOGUS", // 混淆密码 "obfs": "AMOGUS", // 混淆密码
"auth": "[BASE64]", // Base64 验证密钥 "auth": "[BASE64]", // Base64 验证密钥
"auth_str": "yubiyubi", // 字符串验证密钥,和上面的选项二选一 "auth_str": "yubiyubi", // 字符串验证密钥,和上面的选项二选一