我这大半生

  1. 首页
  2. 未分类
  3. 正文

在NAT机器上跑docker版QB

2024年7月21日 447点热度 0人点赞 0条评论

如果在nat机器上运行docker版的qb,有可能会遇到unauthorized的问题,以下是解决方案:

更新:

我刚刚遗漏了一步,就是修改qBittorrent.conf这个文件的时候,先停止这个container

 

So I found the solution. its 2 fold.

First. Go to your qBittorrent.conf file, this is located in /config/qbittorrent/ location. Change the following from

WebUI\HostHeaderValidation=true

to

WebUI\HostHeaderValidation=false

this will allow you to bypass unauthorized issue that might happen in general, not through a home dash board application.

the 2nd fix is to solve the issue of ‘unauthorized’ when opening through a dashboard app, such as homarr, heimdall, & fenrus. Line 59, change from true to false

WebUI\CSRFProtection=true
to
WebUI\CSRFProtection=false

I’ve seen reports on various posts/forums scattered across the interwebs that the error can be reproduced with a reverse proxy as well. can’t confirm myself… but regardless, when editing this file, i’d first stop the container, edit the file, then restart the container.

 

 

该方法来源于:

https://discourse.linuxserver.io/t/opening-qbittorrent-webui-via-dashboard-app-is-unauthorized-mismatched-ips/7363/6

标签: 暂无
最后更新:2024年8月15日

admin

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2024 我这大半生. ALL RIGHTS RESERVED.

本站由 YxVM 服务器 强力驱动