- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我安装了 qBittorrent docker。我在我的路由器上进行了转发;然后是使用 nginx 的反向代理;最后,docker 端口映射。
链条是:
[Port forwarding on Router]:
<WAN's IP>:44383 --> 192.168.10.254:44383
[Nginx]:
44383 --> 44373
[qBittorrent Docker]:
44373 --> 8083
Nextcloud docker 以同样的方式完成,它对我有用。但它对 qBittorrent 失败了。
这是 docker-compose.yml:
admin@pve:~/docker-qbittorrent$ cat docker-compose.yml
version: "2"
services:
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- UMASK_SET=022
- WEBUI_PORT=8073
#- WEBUI_PORT=8080
#- DOMAIN=https://example.com
volumes:
- ./config:/config
- ./downloads:/downloads
ports:
- "6881:6881/tcp"
- "6881:6881/udp"
- "44373:8073"
#- "44373:8080"
restart: unless-stopped
和 qbittorrent.conf:
admin@pve:~/docker-qbittorrent$ cat config/qBittorrent/qBittorrent.conf
[AutoRun]
enabled=false
program=
[LegalNotice]
Accepted=true
[Network]
Cookies=@Invalid()
[Preferences]
Connection\PortRangeMin=6881
Connection\UPnP=false
Downloads\SavePath=/downloads/
Downloads\ScanDirsV2=@Variant(\0\0\0\x1c\0\0\0\0)
Downloads\TempPath=/downloads/incomplete/
WebUI\Address=*
WebUI\Port=8073
WebUI\ServerDomains=*
这是 nginx 配置文件:
admin@pve:/etc/nginx/sites-available$ cat ../sites-enabled/docker-qbittorrent
server {
listen 8083;
server_name example.com;
# return 301 https://$host$request_uri;
}
server {
# listen 44383 ssl http2;
listen 44383;
server_name example.com;
ssl on;
ssl_certificate /etc/ssl/certs/example.com.pem;
ssl_certificate_key /etc/ssl/certs/example.com.key;
location / {
proxy_redirect off;
proxy_pass http://127.0.0.1:44373;
proxy_set_header Host $http_host;
}
}
docker 似乎工作正常:
admin@pve:~/docker-qbittorrent$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8e7b4c80c1ea linuxserver/qbittorrent "/init" 3 hours ago Up 3 hours 0.0.0.0:6881->6881/tcp, 0.0.0.0:6881->6881/udp, 8080/tcp, 0.0.0.0:44373->8073/tcp qbittorrent
但是我无法访问 webUI:
admin@pve:~/docker-qbittorrent$ curl localhost:6881
curl: (52) Empty reply from server
admin@pve:~/docker-qbittorrent$ curl localhost:44373
<No output here>
admin@pve:~/docker-qbittorrent$ curl https://example.com:44383
<No output here>
我使用 chrome 浏览器得到一个空白网页。
但在 docker 中,webUI 似乎没问题:
admin@pve:~/docker-qbittorrent$ docker exec -ti qbittorrent bash
root@8e7b4c80c1ea:/# curl localhost:8073
<!DOCTYPE html>
...
</html>
有人能帮忙吗?谢谢!
最佳答案
我遇到了类似的问题,因为传入的 HTTP header 的来源被过滤掉了。出于某种原因,WebUI\ServerDomains=*
配置无法正常工作。我也有 WebUI\HostHeaderValidation=false
,但也没有用。
将 network_mode: "host"
添加到配置并删除端口映射解决了问题。
关于docker - 无法访问 qbittorrent docker webui,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56706398/
TLDR:寻找一个路由解决方案,以在appname之后具有多个Docker Container Port 80 例如 ip地址:80 / wiki ip地址:80 / ticketsystem ip-
我对 Web 组件自动生成的代码有疑问。这是一段 HTML: ... ... 如您所见,有一个名为 to-button 的自定义 Web 组件: ...
我在将 web_ui 添加到我现有的 dart 应用程序时遇到问题。我什至没有将任何特定于 webui 的代码添加到我的 html 文件中,我只是在尝试构建。 我将 web_ui 添加到 pubspe
我在具有 3 个节点的独立集群上使用 spark 1.1.0。 我想查看已完成应用程序的详细日志,所以我在我的程序中进行了设置: set("spark.eventLog.enabled","true"
我们在我们的项目中使用开源的Apache Spark集群。需要以下帮助。 如何启用Spark Web UI登录的登录凭据? 如何从Spark WebUI禁用“杀死按钮”选项? 有人可以帮助我解决问题1
我在弹出窗口中有一个字段,用于输入带有屏蔽文本的电话号码:“( _ _ _ ) _ _ _ - _ _ _ _”。 (屏蔽文本意味着我们正在使用jquery自动格式化输入的文本。您可以了解更多here
我在使用 dart 的 web ui 包时遇到了一些问题。 首先,我看到 web ui 没有解释 html 标签。是不是可以使用,例如标签,将 html 代码注入(inject) div 或 html
我有一个动态填充的表,并且我已将一个 webui-popover 附加到每个表行。要使其可见,必须单击链接项。我使用手动触发器来控制其可见性。 然而,我的问题是,当一个弹出窗口可见时,当我单击弹出区域
您好,我一直在玩 Heritrix,并希望将其包含在网站上/允许远程 Web 访问它。 我有一个基于 Linux 的服务器,其中有一个托管网页,并且我构建了一个版本的 Heritrix。 问题是我现在
我启动了本地flink服务器(./bin/start-cluster.sh),并提交了作业。我有以下代码来定义自定义指标: .map(new RichMapFunction() { p
我已经在 ubuntu 13.x 上下载并安装了 chef-server-core_12.x DPKG 包 chef-server-ctl reconfigure 运行成功 但是当我尝试 URL ht
我安装了 qBittorrent docker。我在我的路由器上进行了转发;然后是使用 nginx 的反向代理;最后,docker 端口映射。 链条是: [Port forwarding on Rou
我在使用 webUI 时遇到样式问题。 当我注入(inject)数据值时,我的设计被破坏了。 在我的具体案例中,我的菜单显示不正确。据我所见,{{dataValue}} 的初始字符串长度为 0,并且在
我有几个不同的 Sidekiq 任务,它们是长时间运行的任务。这些任务是用来启动的,并且(几乎)永远不会停止。我看到的是,一段时间后我的任务不再显示在 Sidekiq Web UI 中: 但是,做一个
我正在尝试获取 WebUI-Popover jQuery 具有确认按钮,一个“保存”,另一个“取消”,这样我就可以显示/隐藏并对这两个事件运行其他操作! 例如:这样我就可以通过ajax将textare
我放弃了 Bootstrap 弹出窗口,转而寻找。我发现WebUI Popover它具有我正在寻找的所有功能。 但是我在使用页面上元素的 html 内容设置弹出窗口的标题时遇到问题。我在 consol
关闭。这个问题需要details or clarity .它目前不接受答案。 想改进这个问题?通过 editing this post 添加详细信息并澄清问题. 7年前关闭。 Improve this
我是 iOS 应用程序开发新手。我的要求是开发一个应用程序,在用户登录时显示应用程序。 当用户打开应用程序时,会立即显示 Storyboard 启动屏幕,然后在显示登录页面供用户登录后显示空白屏幕。我
我有一个表格以表格形式将一些结果输出到屏幕。对于每个表格行,我都有一个带有图标(更多)的列。我想要实现的是,对于每个图标,在单击时,它会显示一个弹出窗口,类似于 Tidal 所做的。但到目前为止,它只
我正在尝试在 Katalon Studio 中编写一个测试用例,该用例将尝试根据预期值验证各个字段的内容。我正在使用 WebUI.verifyElementText() 函数来执行此操作。我知道正在找
我是一名优秀的程序员,十分优秀!