I encountered an error that proxy.forwarded is an unknown key I already enabled mod_proxy on my configuration. Here is my config
server.modules = (
"mod_access",
"mod_accesslog",
"mod_alias",
"mod_compress",
"mod_redirect",
"mod_proxy"
)
$SERVER["socket"] == ":80" {
$HTTP["url"] =~ "^/" {
proxy.server = ( "/" => (( "host" => "0.0.0.0", "port" => 5000)))
proxy.forwarded = ("for" => 1, "proto" => 1)
}
}
My lighttpd version is lighttpd/1.4.45