Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

doci安装的qb如何开启HTTPS访问

Featured Replies

安装官方版本的qb qb里填了crt和key的绝对路径,转发端口后无法访问QB的webiUI 界面了

Solved by Tom.KST

映射你自己证书存放的路径

qb填的是你映射在qb里的目录

  • Author
16 hours ago, Roin said:

映射你自己证书存放的路径

qb填的是你映射在qb里的目录

请详细说明,不是很理解 

 

/mnt/user/isos/ssl/1.crt

这是证书的绝对地址,该如何映射

用反向代理

  • Solution
On 3/8/2023 at 5:33 PM, Jeffmiao said:

安装官方版本的qb qb里填了crt和key的绝对路径,转发端口后无法访问QB的webiUI 界面了

把證書和密钥放入qb根目錄/mnt/user/appdata/qbittorrent

然後去qb webui 指定路徑/config/xxx.crt, /config/xxx.key

重啟qb docker

C673D408-648D-4CA4-AB62-ACC735A64DFB.thumb.jpeg.d469025de531a3fa193ded60d4cc8a32.jpeg

ADF8ADF6-1C64-4823-B273-ED316E29758A.thumb.jpeg.34379d248b3b6f9a081dc105d146c0b9.jpeg

On 3/10/2023 at 1:50 PM, Jeffmiao said:

请详细说明,不是很理解 

 

/mnt/user/isos/ssl/1.crt

这是证书的绝对地址,该如何映射

 

@Jeffmiao,可能下面的方法可以幫到你!

 

Quote

物理宿主機與Docker容器之間的目錄映射

 

第一步,進入宿主機的配置文件目錄。

# 查看容器存放目錄

命令:docker info | grep Root

 

# 取得容器id(配合ls命令,但是hash值的容器id不好分辨,建議使用FileBrowser或者Dynamix File Manager來查看)

命令:cd /var/lib/docker/containers

 

# 進入配置文件目錄

命令:cd /var/lib/docker/containers/容器id

 

第二步,修改config.v2.json文件。

添加宿主機的/mnt/user/isos/ssl映射到容器的/certs,找到"MountPoints",添加下面的代碼,如果"MountPoints"有內容,注意在下面代碼前面加逗號:"/certs":{"Source":"/mnt/user/isos/ssl","Destination":"/certs","RW":true,"Name":"","Driver":"","Type":"bind","Propagation":"rprivate","Spec":{"Type":"bind","Source":"/mnt/user/isos/ssl","Target":"/certs"},"SkipMountpointCreation":false}

 

第三步,修改hostconfig.json文件。

在hostconfig.json文件中添加下面的代碼:"Binds":["/mnt/user/isos/ssl:/certs"]

 

第四步,啓動docker和容器。

# 重啓docker

命令:systemctl restart docker

 

# 重啓容器

命令:docker start [容器id]

 

第五步,測試。

啓動docker和容器之後,可以查看宿主機的/certs目錄下的文件是否可以在容器內的/certs目錄下查看到。若可以在容器內的/certs目錄下查看到,則說明目錄映射成功;反之,則說明目錄映射失敗。

 

# 進到容器內

命令:docker attach [容器id]

或    docker exec [容器id]

 

# 進入/certs目錄

命令:cd /certs

 

備注:以上映射目錄中的映射目錄/certs及相關宿主機/mnt/user/isos/ssl目錄路徑均為參考例子,實際映射目錄應以實際需求修改

 

Edited by tomtsang

On 3/16/2023 at 7:05 PM, phui.chen said:

用反向代理

为啥我用反向代理,打开webui登录就提示“Unauthorized”🤒

3 年 20 月 2023 日下午 3:32,利维特 说:

为啥我用反向代理,打开webui登录就提示“Unauthorized” 🤒

qBittorrent_v4.5.png.d89f9f2690640ef96d2f93b7ae7e3449.png

1 hour ago, phui.chen said:

qBittorrent_v4.5.png.d89f9f2690640ef96d2f93b7ae7e3449.png

谢了,已经搞清楚了,但是我是不能开

776721053_QQ20230322140207.png.e3a72f20247a5a19d1aaccfbe2195209.png

Host header那个输入域名就行,跨站请求开了就不给进了~

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.