47 lines
976 B
Plaintext
47 lines
976 B
Plaintext
{
|
|
"log": {
|
|
"loglevel": "warn",
|
|
"access": "/opt/config/logs/xray/access.log",
|
|
"error": "/opt/config/logs/xray/error.log"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 8443,
|
|
"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": {}
|
|
}
|
|
]
|
|
}
|