Merge pull request #46 from legiz-ru:dev

fix: mihomo config
This commit is contained in:
Konstantin
2026-04-13 00:16:22 +04:00
committed by GitHub
2 changed files with 12 additions and 38 deletions
+12 -35
View File
@@ -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;
-3
View File
@@ -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",