deluge: Sync apache2 config with Transmission

Use the same reverse proxy configuration as Transmission for Deluge.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Joseph Nuthalapati 2020-12-23 15:27:46 +05:30 committed by Veiko Aasa
parent 2a7fc709a4
commit c975fb94e3
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -1,6 +1,18 @@
##
## On all sites, provide Deluge on a default path: /deluge
##
## Requires the following Apache modules to be enabled:
## mod_headers
## mod_proxy
## mod_proxy_http
##
<Location /deluge>
ProxyPass http://localhost:8112
ProxyPass http://localhost:8112
Include includes/freedombox-single-sign-on.conf
<IfModule mod_auth_pubtkt.c>
TKTAuthToken "admin" "bit-torrent"
</IfModule>
## Send the scheme from user's request to enable Deluge to redirect URLs,
## set cookies, set absolute URLs (if any) properly.
RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
</Location>