宝塔配置V2ray+WS+TLS

Fsea 默认分类 2020-02-05

安装 v2ray

bash <(curl -s -L https://git.io/v2ray.sh)

根据提示安装,选择 WebSocket + TLS,自定义端口号,与宝塔面板配置文件中的端口号一致

4.WebSocket + TLS

v2conf

宝塔面板配置文件输入以下文件

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

PREV
CentOS6 V2ray安装报错found Install daemon fail, please install it manually
NEXT
ssh登录vps服务器提示 -bash-4.2#

评论(0)

发布评论