Skip to content

Commit bae41f6

Browse files
committed
add VLESS-SplitHTTP-TLS
1 parent 6669cbd commit bae41f6

File tree

3 files changed

+82
-80
lines changed

3 files changed

+82
-80
lines changed

src/caddy.sh

+7
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ ${host}:${is_https_port} {
3737
${host}:${is_https_port} {
3838
reverse_proxy /${path}/* h2c://127.0.0.1:${port}
3939
import ${is_caddy_site_file}.add
40+
}"
41+
;;
42+
splithttp)
43+
cat >${is_caddy_site_file} <<<"
44+
${host}:${is_https_port} {
45+
reverse_proxy ${path}/* 127.0.0.1:${port}
46+
import ${is_caddy_site_file}.add
4047
}"
4148
;;
4249
proxy)

0 commit comments

Comments
 (0)