mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
transmission: Run from behind Apache
- Introduce Apache configuration for plinth. - Remove Transmission service file for firewalld. - Enable transmission on install. - Enable/disable Apache configuration on Transmission on enable/disable. - Remove IP address whilelisting as 127.0.0.1 is the default setting and is sufficient for Apache to reverse proxy. - Update UI URL.
This commit is contained in:
1 parent
f94d0d5414
commit
69adf1cfc5
8 files changed
+31
-32
No files matched your search
@@ -0,0 +1,15 @@
|
||||
##
|
||||
## 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
|
||||
##
|
||||
<Location /transmission>
|
||||
ProxyPass http://localhost:9091/transmission
|
||||
## 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
|
||||
</Location>
|
||||
Reference in new issue
Block a user