登入qbittorrent提示Unauthorized解决方法
如果是内网 可以访问WebUI的情况下 进入WebUI的设置界面 取消CSRF保护
如果是 Linux 版且未安装 WebUI,则需要手工修改配置文件:
使用 root 用户登录到服务器;
先停止qbittorrent
systemctl stop qbittorrent
找到 qbittorrent.conf
文件(如 ~/.config/qBittorrent/qBittorrent.conf
)并打开;
在[Preferences]
中 设置
WebUIHostHeaderValidation=false
WebUICSRFProtection=false
如果没有 WebUICSRFProtection
选项,可自行添加;
qbittorrent
服务# 更新配置
systemctl daemon-reload
# 启动服务
systemctl start qbittorrent
# 查看状态
systemctl status qbittorrent

共有 0 条评论