From c975fb94e373588623fa0a7d52f471176d4ee6cc Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Wed, 23 Dec 2020 15:27:46 +0530 Subject: [PATCH] deluge: Sync apache2 config with Transmission Use the same reverse proxy configuration as Transmission for Deluge. Signed-off-by: Joseph Nuthalapati Reviewed-by: Veiko Aasa --- .../etc/apache2/conf-available/deluge-plinth.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/plinth/modules/deluge/data/etc/apache2/conf-available/deluge-plinth.conf b/plinth/modules/deluge/data/etc/apache2/conf-available/deluge-plinth.conf index 76c92049e..f89dd42a2 100644 --- a/plinth/modules/deluge/data/etc/apache2/conf-available/deluge-plinth.conf +++ b/plinth/modules/deluge/data/etc/apache2/conf-available/deluge-plinth.conf @@ -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 +## - ProxyPass http://localhost:8112 + ProxyPass http://localhost:8112 + Include includes/freedombox-single-sign-on.conf + + TKTAuthToken "admin" "bit-torrent" + + ## 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