47 lines
975 B
Plaintext
47 lines
975 B
Plaintext
{
|
|
"log": {
|
|
"loglevel": "warn",
|
|
"access": "/opt/config/logs/xray/access.log",
|
|
"error": "/opt/config/logs/xray/error.log"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "ivansun",
|
|
"flow": "xtls-rprx-direct"
|
|
}
|
|
],
|
|
"decryption": "none",
|
|
"fallbacks": [
|
|
{
|
|
"dest": "localhost:80"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "xtls",
|
|
"xtlsSettings": {
|
|
"alpn": ["http/1.1", "h2"],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/etc/letsencrypt/live/ivan.quacker.net/fullchain.pem",
|
|
"keyFile": "/etc/letsencrypt/live/ivan.quacker.net/privkey.pem"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
}
|
|
]
|
|
}
|