From f0d5123eac88a16ea0f0e70c4f85b74d1366853b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 13 Mar 2023 15:45:54 +0100 Subject: [PATCH] # not supported in sed --- .../rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index 8d0371dfe..6c0c0e979 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -65,12 +65,12 @@ sed -i -e '/CSRFProtection/d' \ -e '/ClickjackingProtection/d' \ -e '/HostHeaderValidation/d' \ -e '/WebUI\Address/d' \ -#sed -i '/WebUI\ReverseProxySupportEnabled/d' qBittorrent.conf -e "$LINE i\WebUI\\\CSRFProtection=false" \ -e "$LINE i\WebUI\\\ClickjackingProtection=false" \ -#sed -i "$LINE i\WebUI\\\ReverseProxySupportEnabled=true" qBittorrent.conf -e "$LINE i\WebUI\\\HostHeaderValidation=false" \ -e "$LINE i\WebUI\\\Address=*" qBittorrent.conf +#sed -i '/WebUI\ReverseProxySupportEnabled/d' qBittorrent.conf +#sed -i "$LINE i\WebUI\\\ReverseProxySupportEnabled=true" qBittorrent.conf ################ # Correct Port #