mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-20 15:55:48 +00:00
fix bugs (#102)
* [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:
@@ -1 +1 @@
|
||||
0.5.2
|
||||
0.5.3
|
||||
|
||||
@@ -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":
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"log": {
|
||||
"loglevel": "warning",
|
||||
"access": "./access.log"
|
||||
},
|
||||
|
||||
"api": {
|
||||
"services": [
|
||||
"HandlerService",
|
||||
|
||||
Reference in New Issue
Block a user