94 lines
2.2 KiB
JSON
94 lines
2.2 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "info"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "8c1b580b-c59d-4b89-b020-980fa947539f",
|
|
"flow": "xtls-rprx-vision",
|
|
"email": "cc@vless.com",
|
|
"level": 0
|
|
}
|
|
],
|
|
"decryption": "none",
|
|
"fallbacks": [
|
|
{
|
|
"name": "xx.tc.hk.go.107421.xyz",
|
|
"alpn": "h2",
|
|
"dest": "@trojan-h2"
|
|
},
|
|
{
|
|
"dest": "/dev/shm/h2c.sock",
|
|
"xver": 2,
|
|
"alpn": "h2"
|
|
},
|
|
{
|
|
"dest": "/dev/shm/h1.sock",
|
|
"xver": 2
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"certificates": [
|
|
{
|
|
"ocspStapling": 3600,
|
|
"certificateFile": "/root/.acme.sh/book.107421.xyz_ecc/fullchain.cer",
|
|
"keyFile": "/root/.acme.sh/book.107421.xyz_ecc/book.107421.xyz.key"
|
|
},
|
|
{
|
|
"ocspStapling": 3600,
|
|
"certificateFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/fullchain.cer",
|
|
"keyFile": "/root/.acme.sh/xx.tc.hk.go.107421.xyz_ecc/xx.tc.hk.go.107421.xyz.key"
|
|
}
|
|
],
|
|
"minVersion": "1.2",
|
|
"cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
|
"alpn": [
|
|
"h2",
|
|
"http/1.1"
|
|
]
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"listen": "@trojan-h2",
|
|
"protocol": "trojan",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"email": "ice@qq.com",
|
|
"password": "VaC3.123a-asd1234-asdasd.aAsDazzS.123",
|
|
"level": 0
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "h2",
|
|
"security": "none",
|
|
"httpSettings": {
|
|
"path": "/status"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
} |