docs: update README

This commit is contained in:
Toby 2021-11-24 23:44:28 -08:00
parent 4140927003
commit d607b47626
2 changed files with 4 additions and 0 deletions

View file

@ -179,6 +179,7 @@ encryption. If you need a proxy, just use our proxy modes.
"password": "yubiyubi"
}
},
"alpn": "ayaya", // QUIC TLS ALPN
"prometheus_listen": ":8080", // Prometheus HTTP metrics server listen address (at /metrics)
"recv_window_conn": 15728640, // QUIC stream receive window
"recv_window_client": 67108864, // QUIC connection receive window
@ -301,6 +302,7 @@ hysteria_traffic_uplink_bytes_total{auth="aGFja2VyISE="} 37452
"obfs": "AMOGUS", // Obfuscation password
"auth": "[BASE64]", // Authentication payload in Base64
"auth_str": "yubiyubi", // Authentication payload in string, mutually exclusive with the option above
"alpn": "ayaya", // QUIC TLS ALPN
"server_name": "real.name.com", // TLS hostname used to verify the server certificate
"insecure": false, // Ignore all certificate errors
"ca": "my.ca", // Custom CA file

View file

@ -165,6 +165,7 @@ Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网
"password": "yubiyubi"
}
},
"alpn": "ayaya", // QUIC TLS ALPN
"prometheus_listen": ":8080", // Prometheus 统计接口监听地址 (在 /metrics)
"recv_window_conn": 15728640, // QUIC stream receive window
"recv_window_client": 67108864, // QUIC connection receive window
@ -286,6 +287,7 @@ hysteria_traffic_uplink_bytes_total{auth="aGFja2VyISE="} 37452
"obfs": "AMOGUS", // 混淆密码
"auth": "[BASE64]", // Base64 验证密钥
"auth_str": "yubiyubi", // 字符串验证密钥,和上面的选项二选一
"alpn": "ayaya", // QUIC TLS ALPN
"server_name": "real.name.com", // 用于验证服务端证书的 hostname
"insecure": false, // 忽略一切证书错误
"ca": "my.ca", // 自定义 CA