我遇到了一个错误,proxy.forwarded 是一个未知的密钥,我已经在我的配置中启用了 mod_proxy。这是我的配置
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)
}
}
我的lighttpd版本是lighttpd/1.4.45