Skip to content

Commit a845eb1

Browse files
geroplroboquat
authored andcommitted
[proxy] Improve reconnection behavior of websockets
1 parent 0e7b85a commit a845eb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/proxy/conf/Caddyfile

+2
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,12 @@ https://{$GITPOD_DOMAIN} {
231231

232232
reverse_proxy @fast server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {
233233
import upstream_headers
234+
import upstream_connection
234235
}
235236

236237
reverse_proxy @slow slow-server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {
237238
import upstream_headers
239+
import upstream_connection
238240
}
239241
}
240242

0 commit comments

Comments
 (0)