mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 21:51:23 +08:00
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
|
{
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 10002,
|
||
|
"listen": "0.0.0.0",
|
||
|
"protocol": "trojan",
|
||
|
"settings": {
|
||
|
"clients": [
|
||
|
{
|
||
|
"password": "example",
|
||
|
"email": "grpc@example.com"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "grpc",
|
||
|
"security": "tls",
|
||
|
"tlsSettings": {
|
||
|
"certificates": [
|
||
|
{
|
||
|
"certificateFile": "/etc/ssl/v2ray/fullchain.pem",
|
||
|
"keyFile": "/etc/ssl/v2ray/privkey.pem"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"grpcSettings": {
|
||
|
"serviceName": "example"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "freedom"
|
||
|
}
|
||
|
],
|
||
|
"log": {
|
||
|
"loglevel": "debug"
|
||
|
}
|
||
|
}
|