From 771b5d41fcd01d4bbe82ce6c88310100e2c526b1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 14 Mar 2024 13:01:30 -0300 Subject: tests/lighttpd.conf: Forward "enable" header to allow connection upgrade --- tests/lighttpd.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf index dfe395b..2f7f6ca 100644 --- a/tests/lighttpd.conf +++ b/tests/lighttpd.conf @@ -29,4 +29,7 @@ index-file.names = ( "index.html" ) $HTTP["url"] =~ "^/api/" { proxy.server = ( "" => (( "host" => var.CWD + "/web.socket" ))) + $HTTP["url"] =~ "^/api/socket$" { + proxy.header = ( "upgrade" => "enable" ) + } } -- cgit v1.2.3