fix: mihomo config
delete localhost socks5 update xhttp config
This commit is contained in:
+12
-35
@@ -7843,41 +7843,18 @@ DNS-over-HTTPS with IP:
|
||||
$c['proxies'][$index]['skip-cert-verify'] = false;
|
||||
|
||||
$c['proxies'][$index]['xhttp-opts'] = [
|
||||
'host' => '~domain~',
|
||||
'path' => "/ws$hash", // путь как у ws + hash
|
||||
'mode' => 'packet-up',
|
||||
'http-version' => '2',
|
||||
'x-padding-bytes' => [
|
||||
'from' => 100,
|
||||
'to' => 1000,
|
||||
],
|
||||
'sc-max-each-post-bytes' => [
|
||||
'from' => 1000000,
|
||||
'to' => 1000000,
|
||||
],
|
||||
'sc-min-posts-interval-ms' => [
|
||||
'from' => 30,
|
||||
'to' => 30,
|
||||
],
|
||||
'sc-stream-up-server-secs' => [
|
||||
'from' => 25,
|
||||
'to' => 60,
|
||||
],
|
||||
'xmux' => [
|
||||
'max-concurrency' => [
|
||||
'from' => 8,
|
||||
'to' => 16,
|
||||
],
|
||||
'max-connections' => 0,
|
||||
'h-keep-alive-period' => 15,
|
||||
'h-max-request-times' => [
|
||||
'from' => 100,
|
||||
'to' => 200,
|
||||
],
|
||||
'h-max-reusable-secs' => [
|
||||
'from' => 1800,
|
||||
'to' => 3000,
|
||||
],
|
||||
'host' => '~domain~',
|
||||
'path' => "/ws$hash",
|
||||
'mode' => 'packet-up',
|
||||
'no-grpc-header' => false,
|
||||
'x-padding-bytes' => '100-1000',
|
||||
'sc-max-each-post-bytes' => 1000000,
|
||||
'reuse-settings' => [
|
||||
'max-connections' => '0',
|
||||
'max-concurrency' => '8-16',
|
||||
'c-max-reuse-times' => '0',
|
||||
'h-max-request-times' => '100-200',
|
||||
'h-max-reusable-secs' => '1800-3000',
|
||||
],
|
||||
];
|
||||
break;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"mixed-port": 2080,
|
||||
"allow-lan": true,
|
||||
"tcp-concurrent": true,
|
||||
"enable-process": true,
|
||||
"find-process-mode": "strict",
|
||||
@@ -50,7 +48,6 @@
|
||||
},
|
||||
"dns": {
|
||||
"enable": true,
|
||||
"listen": ":1053",
|
||||
"prefer-h3": false,
|
||||
"ipv6": false,
|
||||
"enhanced-mode": "fake-ip",
|
||||
|
||||
Reference in New Issue
Block a user