mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
transmission: remove obsolete apache redirects
Tests: - Install Transmission, apply the patch and confirm that the 409 conflict error, that the redirects were originally meant for, is not reproducible anymore. Fixes: #2502 Signed-off-by: Benedek Nagy <contact@nbenedek.me> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
5407f9c89d
commit
959d1e2554
@ -58,7 +58,7 @@ class TransmissionApp(app_module.App):
|
||||
|
||||
app_id = 'transmission'
|
||||
|
||||
_version = 7
|
||||
_version = 8
|
||||
|
||||
DAEMON = 'transmission-daemon'
|
||||
|
||||
@ -110,7 +110,7 @@ class TransmissionApp(app_module.App):
|
||||
|
||||
webserver = Webserver('webserver-transmission', 'transmission-plinth',
|
||||
urls=['https://{host}/transmission'],
|
||||
last_updated_version=6)
|
||||
last_updated_version=8)
|
||||
self.add(webserver)
|
||||
|
||||
daemon = Daemon(
|
||||
|
||||
@ -29,17 +29,6 @@
|
||||
## 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.
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_URI} ^/transmission/$
|
||||
RewriteRule .* /transmission/web/ [R=302,L]
|
||||
RewriteCond %{REQUEST_URI} ^/transmission/web$
|
||||
RewriteRule .* /transmission/web/ [R=302,L]
|
||||
</IfModule>
|
||||
</Location>
|
||||
|
||||
# LDAP only authentication for Transmission remote UIs.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user