mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-11-26 22:55:38 +08:00
根据v5版本现有文档添加配置
This commit is contained in:
10
V5-VLESS-H2C-Caddy2/Caddyfile
Normal file
10
V5-VLESS-H2C-Caddy2/Caddyfile
Normal file
@@ -0,0 +1,10 @@
|
||||
xx.com {
|
||||
root * /var/www
|
||||
file_server
|
||||
|
||||
reverse_proxy /path 127.0.0.1:2001 {
|
||||
transport http {
|
||||
versions h2c
|
||||
}
|
||||
}
|
||||
}
|
||||
5
V5-VLESS-H2C-Caddy2/README.md
Normal file
5
V5-VLESS-H2C-Caddy2/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# 原理图:
|
||||
v2ray client <--- H2 ---> caddy2 <--- H2C ---> v2ray server
|
||||
|
||||
注意:
|
||||
目前仅 caddy2 的 v2.2.0-rc.1 版及以后完美支持 v2ray 的 H2C,实现 H2(HTTP/2)应用。
|
||||
Reference in New Issue
Block a user