mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-01-22 16:56:43 +00:00
Merge pull request #206 from XTLS/xqzr-patch-2
Fix/Add `downloadsettings` tip
This commit is contained in:
commit
007b28f642
|
@ -36,7 +36,7 @@
|
||||||
"hMaxRequestTimes": 1000, //Nginx 默认上限 1000。https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests
|
"hMaxRequestTimes": 1000, //Nginx 默认上限 1000。https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests
|
||||||
"cMaxLifetimeMs": 3600000 //Nginx 默认上限 3600000ms(1h)。https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time
|
"cMaxLifetimeMs": 3600000 //Nginx 默认上限 3600000ms(1h)。https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time
|
||||||
},
|
},
|
||||||
"#downloadSettings": { //如需 H2 下行:移除前面的 #(井号)以使用 downloadSettings;上面的 mode 更改为 stream-up。
|
"#downloadSettings": { //如需 H2 下行:移除前面的 #(井号)以使用 downloadSettings;上面和 server.json 的 mode 更改为 stream-up。
|
||||||
"address": "example.com",
|
"address": "example.com",
|
||||||
"port": 443,
|
"port": 443,
|
||||||
"network": "xhttp",
|
"network": "xhttp",
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "xhttp",
|
"network": "xhttp",
|
||||||
"xhttpSettings": {
|
"xhttpSettings": {
|
||||||
"mode": "stream-one",
|
"mode": "stream-one", //如在 config.jsonc 使用 downloadSettings(下行),不可用 stream-one;可用 stream-up。
|
||||||
"path": "" // 填写你的 path
|
"path": "" // 填写你的 path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue