Skip to content

Commit

Permalink
add VLESS-SplitHTTP-TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Jun 26, 2024
1 parent 6669cbd commit bae41f6
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 80 deletions.
7 changes: 7 additions & 0 deletions src/caddy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ ${host}:${is_https_port} {
${host}:${is_https_port} {
reverse_proxy /${path}/* h2c://127.0.0.1:${port}
import ${is_caddy_site_file}.add
}"
;;
splithttp)
cat >${is_caddy_site_file} <<<"
${host}:${is_https_port} {
reverse_proxy ${path}/* 127.0.0.1:${port}
import ${is_caddy_site_file}.add
}"
;;
proxy)
Expand Down
Loading

0 comments on commit bae41f6

Please sign in to comment.