38 fix xray
This commit is contained in:
21
xray.php
21
xray.php
@@ -222,13 +222,6 @@ function xrayGenerateConfig($port, string $network = 'xhttp')
|
||||
$apiInbound,
|
||||
$dragonInbound,
|
||||
],
|
||||
'log' => [
|
||||
'access' => '/var/log/v2ray/access.log',
|
||||
'dnsLog' => false,
|
||||
'error' => '',
|
||||
'loglevel' => 'info',
|
||||
'maskAddress' => '',
|
||||
],
|
||||
'observatory' => null,
|
||||
'outbounds' => [
|
||||
[
|
||||
@@ -242,20 +235,6 @@ function xrayGenerateConfig($port, string $network = 'xhttp')
|
||||
'tag' => 'blocked',
|
||||
],
|
||||
],
|
||||
'policy' => [
|
||||
'levels' => [
|
||||
'0' => [
|
||||
'statsUserDownlink' => true,
|
||||
'statsUserUplink' => true,
|
||||
],
|
||||
],
|
||||
'system' => [
|
||||
'statsInboundDownlink' => true,
|
||||
'statsInboundUplink' => true,
|
||||
'statsOutboundDownlink' => false,
|
||||
'statsOutboundUplink' => false,
|
||||
],
|
||||
],
|
||||
'reverse' => null,
|
||||
'routing' => [
|
||||
'domainStrategy' => 'AsIs',
|
||||
|
||||
Reference in New Issue
Block a user