47 lines
977 B
Plaintext
47 lines
977 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/ivans.quacker.net/fullchain.pem",
|
|
"keyFile": "/etc/letsencrypt/live/ivans.quacker.net/privkey.pem"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
}
|
|
]
|
|
}
|