- Make sure you have mod_proxy loaded (in lighttpd.conf add it to the server.modules section)
- Add the following to lighttpd.conf:
Code: Select all
$HTTP["host"] =~ “gui.host.local″ {
proxy.server = (
“” => (
“sabnzbd” => (
“host” => “127.0.0.1",
“port” => 8080,
“fix-redirects” => 1
)))
}
gui.host.local can be anything you wish, but if you use "myserver.local"
it will bind up that name so you can't access an already running webserver
that you might have there.
I personally have this running with "gui.myhostname.tld".
Unfortunately I haven't figured out how to redirect to "/sabnzbd"
so your adress will be "http://gui.host.local/sabnzbd"
Hope this is usefull for somebody
Update:
Code: Select all
$HTTP["host"] =~ “host.local″ {
proxy.server = (
“/sabnzbd” => (
“sabnzbd” => (
“host” => “127.0.0.1",
“port” => 8080,
“fix-redirects” => 1
)))
}
Your adress will be: "http://host.local/sabnzbd"
And everything you got running on host.local will still be reachable.