I added "mod_proxy" to the "server.modules" option in /etc/lighttpd/lighttpd.conf and the following snippet in
/etc/lighttpd/external.conf:
$HTTP["host"] == "pi" {
# Undo Pi-hole Javascript Redirect
url.rewrite = ("^(?!.)..js$" => ".*.js")
proxy.server = ( "/" =>
( (
"host" => "192.168.1.32",
"port" => 8080
) )
)
}
I have not found a way to place the "mod_proxy" option into the persistent /etc/lighttpd/external.conf file. Lighttpd doesn't allow a second "server.modules" option.
I think this problem is different to the Reverse proxy feature request.