d2ray/opt/xray/d2ray.json.in
quackerd 206a920bf8
All checks were successful
continuous-integration/drone/push Build is passing
clean new images
2022-12-02 13:52:11 +01:00

43 lines
981 B
JSON

{
"log": {
"loglevel": "warn",
"access": "/etc/d2ray/logs/xray/access.log",
"error": "/etc/d2ray/logs/xray/error.log"
},
"inbounds": [
{
"port": {{ PORT }},
"protocol": "vless",
"settings": {
"clients": [
{{ USERS }}
],
"decryption": "none",
"fallbacks": [
{
"dest": "localhost:80"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"alpn": ["http/1.1", "h2"],
"certificates": [
{
"certificateFile": "/etc/letsencrypt/live/{{ FQDN }}/fullchain.pem",
"keyFile": "/etc/letsencrypt/live/{{ FQDN }}/privkey.pem"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}