mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 18:43:13 +00:00
39 lines
973 B
JSON
39 lines
973 B
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 443,
|
||
|
"protocol": "trojan",
|
||
|
"settings": {
|
||
|
"clients": [
|
||
|
{
|
||
|
"password":"your password",
|
||
|
"email": "love@example.com"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp",
|
||
|
"security": "tls",
|
||
|
"tlsSettings": {
|
||
|
"alpn": [
|
||
|
"http/1.1"
|
||
|
],
|
||
|
"certificates": [
|
||
|
{
|
||
|
"certificateFile": "/path/to/fullchain.crt",
|
||
|
"keyFile": "/path/to/private.key"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "freedom"
|
||
|
}
|
||
|
]
|
||
|
}
|