Lighttpd

From LinuxReviews
Jump to: navigation, search

lighttpd is a web server.

[edit] Proxy

If you want to service something on port 80 that's provided by an application serving at port 9030 then you can do this:

$HTTP["url"] =~ "^/tor/" {
    proxy.server = ( "" =>
        (
            (
                "host" => "127.0.0.1",
                "port" => 9030
            )
        )
    )
}

This example assumes that any content asked for on port 80 which starts with /tor/ is to be proxied from localhost port 9030 (this example is intended to serve Tor directory requests).

Personal tools
hardware tests
Categories
Privacy policy
linux events
ipv6
Networking
IPv6

Search:

linux newz | random page | poetry | free blog