mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-19 06:19:29 +08:00
39 lines
971 B
JSON
39 lines
971 B
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 443,
|
|
"protocol": "trojan",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"password":"your password",
|
|
"email": "love@v2fly.org"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"alpn": [
|
|
"http/1.1"
|
|
],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/path/to/fullchain.crt",
|
|
"keyFile": "/path/to/private.key"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
} |