summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/transmission-cli/transmission.include
blob: 5cbf3994cf756661796fe1d6a3c2f4d4c7443def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#Redirect from /transmission to /transmission/web
url.rewrite-once += ( "^/transmission[/]?$" => "/transmission/web" )
$HTTP["url"] =~ "^/transmission/" {
  #Serve static files from /usr/share/transmission
  server.document-root = "/usr/share/"
  #Forward RPC requests to the Transmission daemon
  proxy.server = (
    "/transmission/rpc" => (
      (
        "host" => "127.0.0.1",
        "port" => 9091
      )
    )
  )
}