mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-01-18 22:09:29 +08:00
xmux
Use def value
https://github.com/XTLS/Xray-core/discussions/4113#discussioncomment-11704492
This commit is contained in:
parent
007b28f642
commit
34a5900403
@ -31,10 +31,10 @@
|
|||||||
"xhttpSettings": {
|
"xhttpSettings": {
|
||||||
"path": "", //填写你的 path
|
"path": "", //填写你的 path
|
||||||
"mode": "stream-one", //如使用 downloadSettings(下行),不可用 stream-one;可用 stream-up。
|
"mode": "stream-one", //如使用 downloadSettings(下行),不可用 stream-one;可用 stream-up。
|
||||||
"xmux": {
|
"#xmux": { //使用默认值。如需自定义:移除前面的 #(井号)。注意:不可超过 Nginx 的最高(上限)值。
|
||||||
"maxConcurrency": 128, //Nginx 默认上限 128。https://nginx.org/en/docs/http/ngx_http_v3_module.html#http3_max_concurrent_streams
|
"maxConcurrency": 128, //Nginx 默认上限 128。https://nginx.org/en/docs/http/ngx_http_v3_module.html#http3_max_concurrent_streams
|
||||||
"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
|
"hMaxReusableSecs": 3600 //Nginx 默认上限 3600s(1h)。https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time
|
||||||
},
|
},
|
||||||
"#downloadSettings": { //如需 H2 下行:移除前面的 #(井号)以使用 downloadSettings;上面和 server.json 的 mode 更改为 stream-up。
|
"#downloadSettings": { //如需 H2 下行:移除前面的 #(井号)以使用 downloadSettings;上面和 server.json 的 mode 更改为 stream-up。
|
||||||
"address": "example.com",
|
"address": "example.com",
|
||||||
@ -42,10 +42,10 @@
|
|||||||
"network": "xhttp",
|
"network": "xhttp",
|
||||||
"xhttpSettings": {
|
"xhttpSettings": {
|
||||||
"path": "", //填写你的 path(同上)
|
"path": "", //填写你的 path(同上)
|
||||||
"xmux": {
|
"#xmux": { //使用默认值。如需自定义:移除前面的 #(井号)。注意:不可超过 Nginx 的最高(上限)值。
|
||||||
"maxConcurrency": 128, //Nginx 默认上限 128。https://nginx.org/en/docs/http/ngx_http_v3_module.html#http3_max_concurrent_streams
|
"maxConcurrency": 128, //Nginx 默认上限 128。https://nginx.org/en/docs/http/ngx_http_v3_module.html#http3_max_concurrent_streams
|
||||||
"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
|
"hMaxReusableSecs": 3600 //Nginx 默认上限 3600s(1h)。https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"security": "tls"
|
"security": "tls"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user