# 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

最新文章

  1. C# DataSet装换为泛型集合
  2. 学习git与github的二三事 (一)
  3. css3 flex
  4. IT技术的进化道路
  5. ListBox1控件
  6. AwSnap:让全版本(Windows、iOS、Android)Chrome浏览器崩溃的有趣漏洞
  7. Docker 选项和命令
  8. spring log4j.properties
  9. 学习java随笔第七篇:java的类与对象
  10. [RxJS] Reactive Programming - Rendering on the DOM with RxJS
  11. Mysql 分别按月, 日为组group,进行统计排序order
  12. Struts2 校验
  13. asp.net mvc 上传图片流存服务器
  14. 【整理】REACT一些自己感觉需要记的东西
  15. DFS迷宫递归所有路径 新手入门
  16. 线性表&顺序线性表
  17. jmeter安装与环境变量配置
  18. Problem A: 平面上的点和线——Point类、Line类 (I)
  19. 银联接口C#
  20. ceph维护

热门文章

  1. nginx虚拟机无法访问解决
  2. windows下exfat无法写入怎么修复?
  3. 攻防世界WEB新手练习
  4. 【编程开发】非对称加密过程详解(基于RSA非对称加密算法实现)
  5. C语言I博客作业12—学期总结
  6. POJ 1161 Walls【floyd 以面为点建图】
  7. [Cometoj#3 A]比赛_枚举/堆
  8. Httpwatch教程
  9. SQL中的关键词
  10. C++ Primer练习题day1