## ## On all sites, provide Transmission on a default path: /transmission ## ## Requires the following Apache modules to be enabled: ## mod_headers ## mod_proxy ## mod_proxy_http ## ProxyPass http://localhost:9091/transmission Include includes/freedombox-single-sign-on.conf TKTAuthToken "admin" "bit-torrent" ## Send the scheme from user's request to enable Transmission to ## redirect URLs, set cookies, set absolute URLs (if any) ## properly. RequestHeader set X-Forwarded-Proto 'https' env=HTTPS # Make redirects to avoid 409 Conflict errors. See: #2219. Upstream issue: # https://github.com/transmission/transmission/pull/857 . Drop this # workaround with Transmission >= 4.0. RewriteEngine On RewriteCond %{REQUEST_URI} ^/transmission/$ RewriteRule .* /transmission/web/ [R=302,L] RewriteCond %{REQUEST_URI} ^/transmission/web$ RewriteRule .* /transmission/web/ [R=302,L]