Package: transmission-daemon
Severity: wishlist
Tags: patch

Dear Maintainer,

It would be nice to have Apache configuration for having Transmission service
reverse- proxied.

- There is no need to have a firewall port opened when accessing from external
networks.

- User does not have remember the port number for accessing the web interface
(only the path)

This shall be disabled by default so that the web interface and transmission
rpc service are not accessible from external networks by default.  If the
user/administrator/Plinth wish to enable it, it would be convenient.

I am attaching a configuration that we are planning to use in FreedomBox web
interface (Plinth).  Although it is not necessary for FreedomBox to have this
configuration as part of this package, I believe that it belongs here.



-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
##
## 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>

Reply via email to