Compare commits

...

2 Commits

Author SHA1 Message Date
c21ed699ec Build [v1.14.18] 2026-04-23 15:24:27 +03:00
f77582fdcd fix(09): improve Caddy WebSocket support for Next.js HMR 2026-04-23 15:24:27 +03:00
4 changed files with 16 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
834000 834658
834001 834659
834015 834673

View File

@@ -17,7 +17,15 @@ https://:8919 {
} }
# Next.js HMR Support (WebSocket) # Next.js HMR Support (WebSocket)
header_up X-Forwarded-For {remote_host} handle /_next/webpack-hmr {
reverse_proxy http://localhost:8917 {
header_up Upgrade {>Upgrade}
header_up Connection {>Connection}
}
}
reverse_proxy http://localhost:8917 {
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto https header_up X-Forwarded-Proto https
header_up X-Forwarded-Host {host} header_up X-Forwarded-Host {host}
} }
@@ -37,7 +45,7 @@ https://:8918 {
} }
reverse_proxy http://localhost:8916 { reverse_proxy http://localhost:8916 {
header_up X-Forwarded-For {remote_host} header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto https header_up X-Forwarded-Proto https
header_up X-Forwarded-Host {host} header_up X-Forwarded-Host {host}
} }

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{ {
"version": "1.14.17", "version": "1.14.18",
"last_build": "2026-04-23-1519", "last_build": "2026-04-23-1524",
"codename": "ConfigCore", "codename": "ConfigCore",
"commit": "dcc3f692" "commit": "f77582fd"
} }