Skip to content

Instantly share code, notes, and snippets.

@qzhong0605
Created June 2, 2019 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzhong0605/b90c4919d79c23250e4d3baa8fb69446 to your computer and use it in GitHub Desktop.
Save qzhong0605/b90c4919d79c23250e4d3baa8fb69446 to your computer and use it in GitHub Desktop.
"streamSettings": {
"network": "tcp",
"security": "tls", // security 要设置为 tls 才会启用 TLS
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/v2ray/v2ray.crt", // 证书文件
"keyFile": "/etc/v2ray/v2ray.key" // 密钥文件
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment