summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-03-14 13:01:30 -0300
committerEuAndreh <eu@euandre.org>2024-03-14 13:01:30 -0300
commit771b5d41fcd01d4bbe82ce6c88310100e2c526b1 (patch)
tree2199ad1b29300a2e31a9c28a13f654486065f7bb
parentsrc/hero.mjs: Include "headers" and "ref" in request param (diff)
downloadpapod-771b5d41fcd01d4bbe82ce6c88310100e2c526b1.tar.gz
papod-771b5d41fcd01d4bbe82ce6c88310100e2c526b1.tar.xz
tests/lighttpd.conf: Forward "enable" header to allow connection upgrade
-rw-r--r--tests/lighttpd.conf3
1 files changed, 3 insertions, 0 deletions
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" )
+ }
}