Handle transmission redirect automatically

This commit is contained in:
caskd 2019-09-26 17:36:43 +02:00
parent e0e08e9c19
commit 868a4c2f10
No known key found for this signature in database
GPG Key ID: 4D0C454CCA5DF3B6
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ frontend https
http-request set-header X-Client-IP %[req.hdr_ip(x-forwarded-for)] if is_cf
redirect location /remote.php/dav code 301 if dav nextcloud
redirect location /index.html code 301 if homepage root
redirect location /web/ code 301 if transmission root
redirect location https://discord.gg/CTFMzde code 301 if discord-redirect homepage
http-response replace-header Set-Cookie (.*) \1;\ Secure