Skip to main content
Version: Latest

lighttpd

Subfolder

server.modules += ("mod_proxy")
$HTTP["url"] =^ "/autobrr/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 7474 )))
proxy.header = ( "upgrade" => 1, "map-urlpath" => ("/autobrr" => "") )
}
Heads up

Don't forget to set the baseUrl option in the config.toml:

# Base url
# Set custom baseUrl eg /autobrr/ to serve in subdirectory.
# Not needed for subdomain, or by accessing with the :port directly.
#
# Optional
#
baseUrl = "/autobrr/"

Subdomain

server.modules += ("mod_proxy")
$HTTP["host"] == "autobrr.domain.com" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 7474 )))
proxy.header = ( "upgrade" => 1 )
}