TLS 证书自制
直接输命令sudo apt-get -y install netcat
curl https://get.acme.sh | sh
source ~/.bashrc
# 确保80端口没有被占用
sudo apt-get install socat
sudo ~/.acme.sh/acme.sh --issue -d 你的域名 --standalone -k ec-256
# 在/etc/v2ray/目录生成证书
sudo ~/.acme.sh/acme.sh --installcert -d 你的域名 --fullchainpath /etc/v2ray/v2ray.crt --keypath /etc/v2ray/v2ray