Update 91-qbittorrent_configuration.sh

This commit is contained in:
Alexandre
2022-06-18 06:10:18 +02:00
committed by GitHub
parent 00cfdabfaa
commit 247b5eb0e8

View File

@@ -57,10 +57,10 @@ sed -i '/CSRFProtection/d' qBittorrent.conf
sed -i '/ClickjackingProtection/d' qBittorrent.conf
sed -i '/HostHeaderValidation/d' qBittorrent.conf
sed -i '/WebUI\Address/d' qBittorrent.conf
sed -i '/WebUI\ReverseProxySupportEnabled/d' qBittorrent.conf
#sed -i '/WebUI\ReverseProxySupportEnabled/d' qBittorrent.conf
sed -i "$LINE i\WebUI\\\CSRFProtection=false" qBittorrent.conf
sed -i "$LINE i\WebUI\\\ClickjackingProtection=false" qBittorrent.conf
sed -i "$LINE i\WebUI\\\ReverseProxySupportEnabled=true" qBittorrent.conf
#sed -i "$LINE i\WebUI\\\ReverseProxySupportEnabled=true" qBittorrent.conf
sed -i "$LINE i\WebUI\\\HostHeaderValidation=false" qBittorrent.conf
sed -i "$LINE i\WebUI\\\Address=*" qBittorrent.conf