wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.79k stars 281 forks source link

“通过不被信任的域名访问”的提示 #52

Closed WoChen5770 closed 5 years ago

WoChen5770 commented 5 years ago

使用的是Nextcloud,设置了ssl,通过域名打开出现了 “通过不被信任的域名访问”的提示

WoChen5770 commented 5 years ago

aria2可以打开

wahyd4 commented 5 years ago

请问你的证书哪里来的?如果是自己发的证书,这个就是正常的啊。 On Wed, 14 Nov 2018 at 11:19 pm, WoChen5770 notifications@github.com wrote:

使用的是Nextcloud,设置了ssl,通过域名打开出现了 “通过不被信任的域名访问”的提示

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/52, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4DkEC3OBEOWBQgVKKFpSGyOOzFbcks5uvApqgaJpZM4YdoWN .

WoChen5770 commented 5 years ago

请问你的证书哪里来的?如果是自己发的证书,这个就是正常的啊。 On Wed, 14 Nov 2018 at 11:19 pm, WoChen5770 @.***> wrote: 使用的是Nextcloud,设置了ssl,通过域名打开出现了 “通过不被信任的域名访问”的提示 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#52>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4DkEC3OBEOWBQgVKKFpSGyOOzFbcks5uvApqgaJpZM4YdoWN .

用的是自动发的证书啊 LE的

WoChen5770 commented 5 years ago

image

wahyd4 commented 5 years ago

看到这个图就很清楚了。这个和你证书没有关系,是因为nextcloud配置里面没有添加该域名。 请在docker-compose.yml里面的nextcloud服务下的volumes节点上,添加映射/config目录,然后再次运行后,再对该文件进行相关修改即可了。 On Wed, 14 Nov 2018 at 11:28 pm, WoChen5770 notifications@github.com wrote:

[image: image] https://user-images.githubusercontent.com/26268544/48482522-e0697900-e84b-11e8-9158-3a75e5955091.png

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/52#issuecomment-438645440, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4H5ZbsGezGo2WYCSWeHXpE59GHIZks5uvAx_gaJpZM4YdoWN .

WoChen5770 commented 5 years ago

找不到config目录?如果我进入这个容器修改,那这个目录在哪里?

WoChen5770 commented 5 years ago

最后是进入容器修改的,直接挂载好像config目录出不来

wahyd4 commented 5 years ago

肯定不会出不来啊。在容器内的路径就是/config Kindly regards, Junwei Zhao

On Thu, 15 Nov 2018 at 01:36, WoChen5770 notifications@github.com wrote:

最后是进入容器修改的,直接挂载好像config目录出不来

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/52#issuecomment-438683043, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4JSAqypK5Q_Kf9rHxwgc8AjoTWCfks5uvCprgaJpZM4YdoWN .

WoChen5770 commented 5 years ago

有个权限问题,aria2下载的文件好像也是root所有的,991删不了啊。 在nextcloud不能管理aria2下载的文件

wahyd4 commented 5 years ago

目前的办法就是,把nextcloud的用户uid和gid都设置成root,这样所有应用都是统一使用root用户,这样就能管理文件了。 On Thu, 15 Nov 2018 at 8:08 pm, WoChen5770 notifications@github.com wrote:

有个权限问题,aria2下载的文件好像也是root所有的,991删不了啊。 在nextcloud不能管理aria2下载的文件

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/52#issuecomment-438969089, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4IGTIe2lrf6iuBGLLFApdHrTRP7xks5uvS8TgaJpZM4YdoWN .

WoChen5770 commented 5 years ago

这需要在哪里设置?

wahyd4 commented 5 years ago

修改docker-compose.yml 覆盖默认的相关环境变量即可,建议搜索下issue, 你说这个之前已经解决了。https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/44#issuecomment-414089103

Xiaotouming commented 5 years ago

最后是进入容器修改的,直接挂载好像config目录出不来

我也遇到了同样的问题,可是在config.php中添加域名无效,尝试删除原来的可用的域名,发现原来可用的域名也显示不信任域名,那改这个文件应该是没错的才对。请问是怎么解决的?