89 lines
1.8 KiB
JSON
89 lines
1.8 KiB
JSON
{
|
|
"log": {
|
|
"access": "/var/log/xray/access.log",
|
|
"error": "/var/log/xray/error.log",
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 29999,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "fc903f5d-a007-482b-928c-570da9a851f9",
|
|
"flow": "xtls-rprx-direct"
|
|
}
|
|
],
|
|
"decryption": "none",
|
|
"fallbacks": [
|
|
{
|
|
"dest": 60000,
|
|
"alpn": "",
|
|
"xver": 1
|
|
},
|
|
{
|
|
"dest": 60001,
|
|
"alpn": "h2",
|
|
"xver": 1
|
|
},
|
|
{
|
|
"dest": 60002,
|
|
"path": "/0e03986e4baac9/",
|
|
"xver": 1
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "xtls",
|
|
"xtlsSettings": {
|
|
"minVersion": "1.2",
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/usr/local/etc/xray/self_signed_cert.pem",
|
|
"keyFile": "/usr/local/etc/xray/self_signed_key.pem"
|
|
},
|
|
{
|
|
"certificateFile": "/ssl/xray.crt",
|
|
"keyFile": "/ssl/xray.key"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"port": 60002,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "fc903f5d-a007-482b-928c-570da9a851f9"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "ws",
|
|
"security": "none",
|
|
"wsSettings": {
|
|
"acceptProxyProtocol": true,
|
|
"path": "/0e03986e4baac9/"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
} |