VTORRAAYY ws+tls+nginx config
2024-09-05 03:21:19
# nginx conf partal
location /haha
{
proxy_redirect off;
# the prot should same with config v2***
proxy_pass http://127.0.0.1:10000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
# Show realip in v2*** access.log
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
v2** config
{
"log": {
"loglevel": "debug",
"access": "/var/log/science/access.log",
"error": "/var/log/science/error.log"
},
"inbounds": [
{
"port": 10000,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "2fed9375-640b-41f2-b568-0f612ba23411",
"alterId": 64,
"security": "none"
}
]
},
"streamSettings": {
"network": "ws",
"security": "auto",
"wsSettings": {
"path": "/haha"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
this is the end. B.T.W. Fuck GGFFWW
最新文章
- C# DataSet装换为泛型集合
- 学习git与github的二三事 (一)
- css3 flex
- IT技术的进化道路
- ListBox1控件
- AwSnap:让全版本(Windows、iOS、Android)Chrome浏览器崩溃的有趣漏洞
- Docker 选项和命令
- spring log4j.properties
- 学习java随笔第七篇:java的类与对象
- [RxJS] Reactive Programming - Rendering on the DOM with RxJS
- Mysql 分别按月, 日为组group,进行统计排序order
- Struts2 校验
- asp.net mvc 上传图片流存服务器
- 【整理】REACT一些自己感觉需要记的东西
- DFS迷宫递归所有路径 新手入门
- 线性表&;顺序线性表
- jmeter安装与环境变量配置
- Problem A: 平面上的点和线——Point类、Line类 (I)
- 银联接口C#
- ceph维护