TCP Stream 转发

找到“/www/server/panel/vhost/nginx/tcp/”

在TCP新建“vless-xxxx.conf”

server {
listen 192.168.x.x:端口

resolver 100.100.100.100 valid=30s ipv6=off;

set $backend “私有域名ts.net:端口”;
proxy_pass $backend;

proxy_connect_timeout 10s;
proxy_timeout 1h;
}

然后输入“nginx -t
nginx -s reload”

© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容