Closed bigjimmy546 closed 2 years ago
alterId 改成0,客户端也改成 0
你好,我確認了服務status,顯示下列的錯誤 main: failed to read config files: [/usr/local/etc/v2ray/config.json] > infra/conf: Failed to build TLS config. > infra/conf: failed to parse certificate > open /etc/letsencrypt/live/xxxx.com/fullchain.pem: permission denied
chmod 777 /etc/letsencrypt/live/xxxx.com/fullchain.pem
最後需要更改certificate的location,只能copy cert 到v2ray的folder裡面,已解決,謝謝
你好,我的设置是:
{ "inbounds": [ { "port": 443, // 建议使用 443 端口 "protocol": "vmess", "settings": { "clients": [ { "id": "xxxxxxxxxx", "alterId": 64 } ] }, "streamSettings": { "network": "tcp", "security": "tls", // security 要设置为 tls 才会启用 TLS "tlsSettings": { "certificates": [ { "certificateFile": "/etc/letsencrypt/live/xxxx..com/fullchain.pem", // 证书文件 "keyFile": "/etc/letsencrypt/live/xxxxx.com/privkey.pem" // 密钥文件 } ] } } } ], "outbounds": [ { "protocol": "freedom", "settings": {} } ] }
我是使用certbot,所以密鑰文件地址這樣可以嗎? 请问我的设置有问题吗?这样链接之后无法访问所有网站