/www/wwwroot/kelro.cn/usr/plugins/AMP/templates/MIPpage.php on line 31
">

利用cloudflare和宝塔进行TLS+WS流量转发

2019-11-15T17:22:00
Nginx配置为:
server {
listen  443 ssl http2; # 如果你木有添加 HTTP2 模块,请删除 http2
server_name           xxx.com; # 将 xxx.com 修改成你的域名
ssl_certificate       /home/ssl/233blog.com.crt; # 证书路径
ssl_certificate_key   /home/ssl/233blog.com.key; # 密钥路径
ssl_protocols         TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers           ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;;
location / {
proxy_pass http://localhost:2333; # 2333 为 V2Ray 端口
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}}
PS:2333测试可用,其他请自测
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »