宝塔配置V2ray+WS+TLS
安装 v2ray
bash <(curl -s -L https://git.io/v2ray.sh)
根据提示安装,选择 WebSocket + TLS
,自定义端口号,与宝塔面板配置文件中的端口号一致
宝塔面板配置文件输入以下文件
location / {
proxy_redirect off;
proxy_pass http://127.0.0.1:与安装v2ray设置的端口一致;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
原文:https://www.hgblog.net/1017.html?tdsourcetag=s_pctim_aiomsg