Project

General

Profile

[Answered] Module configuration "proxy server" for the camera ip.

Added by greeno over 7 years ago

Hello.
I have a problem with the configuration of "proxy server" on lighttpd.
I would like to redirect subdomain camera.xxx.com to ip camera located in a local network.
Redirect works and opens web site camera, but not to stream video (Limited resources, an error opening video).

module configuration "proxy server" is:

$ HTTP ["host"] == "camera.xxx.com" {
proxy.server = ( "" =>
("Host" =>
(
"Host" => "10.0.0.23"
"Port" => 80
)
)
)
}

How to solve this problem ?


Replies (5)

RE: Module configuration "proxy server" for the camera ip. - Added by gstrauss over 7 years ago

solution: read the docs Docs_ConfigurationOptions Look at server.stream-request-body and server.stream-response-body

RE: Module configuration "proxy server" for the camera ip. - Added by greeno over 7 years ago

I completed the configuration of the server with the following data but unfortunately nothing is changed.
Should i turn on the server, an additional module?

server.stream-request-body = 1
server.stream-response-body = 1

I have server lighttpd - 1.4.32-1 ,this version will support me these options.

If I do something wrong, it should look like a sample configuration?

RE: Module configuration "proxy server" for the camera ip. - Added by gstrauss over 7 years ago

1.4.32-1 is very, very old. Please use a more recent version. Latest release of lighttpd is 1.4.43.

RE: Module configuration "proxy server" for the camera ip. - Added by greeno over 7 years ago

Yea, i'd like to do it, but i can't find the actual source package for arm (Optware RT-AC68U) ;/

http://ipkg.nslu2-linux.org/feeds/optware/mbwe-bluering/cross/stable/

RE: Module configuration "proxy server" for the camera ip. - Added by gstrauss over 7 years ago

lighttpd 1.4.32 was released over 4 years ago and is very old.

Please contact the package maintainers of NSLU2 on IRC: http://www.nslu2-linux.org/wiki/Main/IRC

You might also build and test and updated package yourself: http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware

Alternatively, look into a different web server package available on NSLU2: http://www.nslu2-linux.org/wiki/Info/ComparingWebServers
(and note that this page suggests using server.network-backend = "write" in lighttpd.conf) See also #759 and #805 for some 8-year-old discussions of lighttpd on NSLU2. lighttpd 1.4.40 and later fix some issues with limitations on some embedded filesystems and are more graceful handling mmap failures.

    (1-5/5)