根据v5版本现有文档添加配置

This commit is contained in:
Weltolk
2023-02-15 11:21:24 +08:00
parent bf9bcd656b
commit 1d15c34ea1
10 changed files with 372 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
xx.com {
root * /var/www
file_server
reverse_proxy /path 127.0.0.1:2001 {
transport http {
versions h2c
}
}
}

View File

@@ -0,0 +1,5 @@
# 原理图:
v2ray client <--- H2 ---> caddy2 <--- H2C ---> v2ray server
注意:
目前仅 caddy2 的 v2.2.0-rc.1 版及以后完美支持 v2ray 的 H2C,实现 H2(HTTP/2)应用。