diff --git a/autoXRAYselflConfRUbrEUxhttp.sh b/autoXRAYselflConfRUbrEUxhttp.sh index 38bc242..3e94ea4 100644 --- a/autoXRAYselflConfRUbrEUxhttp.sh +++ b/autoXRAYselflConfRUbrEUxhttp.sh @@ -360,6 +360,23 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "streamSettings": { "network": "$TYPE", "xhttpSettings": { + "extra": { + "headers": { + }, + "noGRPCHeader": false, + "scMaxEachPostBytes": 1500000, + "scMinPostsIntervalMs": 20, + "scStreamUpServerSecs": "60-240", + "xPaddingBytes": "400-800", + "xmux": { + "cMaxReuseTimes": "1000-3000", + "hKeepAlivePeriod": 0, + "hMaxRequestTimes": "400-700", + "hMaxReusableSecs": "1200-1800", + "maxConcurrency": "3-5", + "maxConnections": 0 + } + }, "mode": "${mode}", "path": "${path_url}" }, @@ -568,6 +585,23 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "streamSettings": { "network": "$TYPE", "xhttpSettings": { + "extra": { + "headers": { + }, + "noGRPCHeader": false, + "scMaxEachPostBytes": 1500000, + "scMinPostsIntervalMs": 20, + "scStreamUpServerSecs": "60-240", + "xPaddingBytes": "400-800", + "xmux": { + "cMaxReuseTimes": "1000-3000", + "hKeepAlivePeriod": 0, + "hMaxRequestTimes": "400-700", + "hMaxReusableSecs": "1200-1800", + "maxConcurrency": "3-5", + "maxConnections": 0 + } + }, "mode": "${mode}", "path": "/${path_xhttp}" }, @@ -606,7 +640,7 @@ echo -e "Готово!\n" subPageLink="https://$DOMAIN/$path_subpage.json" # Формирование ссылок -link1="vless://${xray_uuid_vrv}@$DOMAIN:${portVL}?security=reality&type=xhttp&headerType=&path=%2F$path_xhttp&host=&mode=${mode}&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#VlXhttpRtyRUbrEU" +link1="vless://${xray_uuid_vrv}@$DOMAIN:${portVL}?security=reality&type=xhttp&headerType=&path=%2F$path_xhttp&host=&mode=${mode}&extra=%7B%22xmux%22%3A%7B%22cMaxReuseTimes%22%3A%221000-3000%22%2C%22maxConcurrency%22%3A%223-5%22%2C%22maxConnections%22%3A0%2C%22hKeepAlivePeriod%22%3A0%2C%22hMaxRequestTimes%22%3A%22400-700%22%2C%22hMaxReusableSecs%22%3A%221200-1800%22%7D%2C%22headers%22%3A%7B%7D%2C%22noGRPCHeader%22%3Afalse%2C%22xPaddingBytes%22%3A%22400-800%22%2C%22scMaxEachPostBytes%22%3A1500000%2C%22scMinPostsIntervalMs%22%3A20%2C%22scStreamUpServerSecs%22%3A%2260-240%22%7D&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#VlXhttpRtyRUbrEU" configListLink="https://$DOMAIN/$path_subpage.html"