Commit 24b85cf6 authored by Andrey Filippov's avatar Andrey Filippov

overdue commit for lighttpd related to websockets

parent b5b0fef2
...@@ -118,7 +118,7 @@ mimetype.assign = ( ...@@ -118,7 +118,7 @@ mimetype.assign = (
#### accesslog module #### accesslog module
accesslog.filename = "/www/logs/access.log" accesslog.filename = "/www/logs/access.log"
# Elphel - disabled error log # Elphel - disabled error log 07/23/2021 - re-enabling for debugging
#debug.log-request-handling = "enable" #debug.log-request-handling = "enable"
...@@ -242,17 +242,25 @@ server.port = 80 ...@@ -242,17 +242,25 @@ server.port = 80
#mimetype.assign = (".txt" => "text/plain", ".html" => "text/html" ) #mimetype.assign = (".txt" => "text/plain", ".html" => "text/html" )
#server.modules += ("mod_wstunnel") #server.modules += ("mod_wstunnel")
#wstunnel.debug = 5
wstunnel.server = ( wstunnel.server = (
"/ws/" => ( "/ws/" => (
( (
"socket" => "/tmp/wstunnel.socket", "socket" => "/tmp/wstunnel.socket",
"bin-path" => "/www/pages/echo.pl", "bin-path" => "/www/pages/echo.pl",
"max-procs" => 1 "max-procs" => 2
) )
), ),
"/ws-nobin/" => ( "/ws-nobin/" => (
( (
"socket" => "/tmp/wstunnel-nobin.socket", "socket" => "/tmp/wstunnel-nobin.socket",
# "bin-path" => "/www/pages/echo.pl",
"max-procs" => 1
)
),
"/ws-nobin1/" => (
(
"socket" => "/tmp/wstunnel-nobin1.socket",
# "bin-path" => "/www/pages/echo.pl", # "bin-path" => "/www/pages/echo.pl",
"max-procs" => 1 "max-procs" => 1
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment