* [bug] fix xtls worng domain

* [bug] fix vless tcp headerType and path

* upgrade x-ui version

* add log to default config
This commit is contained in:
Hossin Asaadi
2022-11-21 21:01:07 +03:30
committed by GitHub
parent 8c886443a0
commit 0f58d5912b
3 changed files with 8 additions and 1 deletions

View File

@@ -1 +1 @@
0.5.2
0.5.3

View File

@@ -974,6 +974,7 @@ class Inbound extends XrayCommonClass {
params.set("type", this.stream.network);
if (this.xtls) {
params.set("security", "xtls");
address = this.stream.tls.server;
} else {
params.set("security", this.stream.security);
}
@@ -988,6 +989,7 @@ class Inbound extends XrayCommonClass {
const host = request.headers[index].value;
params.set("host", host);
}
params.set("headerType", 'http');
}
break;
case "kcp":

View File

@@ -1,4 +1,9 @@
{
"log": {
"loglevel": "warning",
"access": "./access.log"
},
"api": {
"services": [
"HandlerService",