I got 2 server under same network and I hope to redirect domain.com/page
to 192.168.2.16:22348
so i got this in lighttpd.conf according to this: lighttpd as reverse-proxy
$HTTP["url"] =~ "^/page" {
proxy.server = ( "" => ( ( "host" => "192.168.2.16", "port" => 22348 ) ) )
}
but I ended up getting redirected to 192.168.2.16/maps which doesn't exist (I only got index.html but I can't change it) and returned 404. Is there any way to only pass IP and port but not /page?
(I also tried domain.com/google
to google.com
by the same way but ended up to google.com/google
)
Others I also tried: https://redmine.lighttpd.net/projects/1/wiki/Docs_ModProxy