Skip to content

Commit 5a807bd

Browse files
committed
fix: disable HTTP/3 in Caddy to prevent Hysteria2 masquerade hijack
1 parent 472853e commit 5a807bd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Caddyfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
{
2+
servers {
3+
protocols h1 h2
4+
}
5+
}
6+
17
{$PANEL_DOMAIN} {
28
encode gzip zstd
39

410
reverse_proxy backend:3000 {
5-
# Force HTTP/1.1 to backend (Express doesn't support h2c)
611
transport http {
712
versions 1.1
813
}

0 commit comments

Comments
 (0)