mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 21:26:06 +08:00
Delete config_server.json
This commit is contained in:
parent
c86d4f8db2
commit
ddbc42ced5
@ -1,53 +0,0 @@
|
|||||||
{
|
|
||||||
"log": {
|
|
||||||
"loglevel": "debug"
|
|
||||||
},
|
|
||||||
"inbounds": [
|
|
||||||
{
|
|
||||||
"port": 443,
|
|
||||||
"protocol": "trojan",
|
|
||||||
"settings": {
|
|
||||||
"clients": [
|
|
||||||
{
|
|
||||||
"password":"your_password", //密码
|
|
||||||
"flow": "xtls-rprx-direct"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fallbacks": [
|
|
||||||
{
|
|
||||||
"dest": "/dev/shm/default.sock",
|
|
||||||
"xver": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alpn": "h2",
|
|
||||||
"dest": "/dev/shm/h2c.sock",
|
|
||||||
"xver": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"streamSettings": {
|
|
||||||
"network": "tcp",
|
|
||||||
"security": "xtls",
|
|
||||||
"xtlsSettings": {
|
|
||||||
"alpn": [
|
|
||||||
"http/1.1",
|
|
||||||
"h2"
|
|
||||||
],
|
|
||||||
"certificates": [
|
|
||||||
{
|
|
||||||
"certificateFile": "/path/to/cert", //证书文件绝对目录
|
|
||||||
"keyFile": "/path/to/key" //密钥文件绝对目录
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"minVersion": "1.2", //如果是ecc证书则最低使用TLSv1.2,如果你不清楚证书类型或者不是ecc证书,删掉这行
|
|
||||||
"ocspStapling": 3600 //验证周期3600秒
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outbounds": [
|
|
||||||
{
|
|
||||||
"protocol": "freedom"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user