nginxWebUI icon indicating copy to clipboard operation
nginxWebUI copied to clipboard

docker安装owncloud 反代

Open jack338c opened this issue 2 years ago • 5 comments

大神好! 刚刚在使用您的nginxWebUI,但是反代总是不成功,请帮看下问题出在哪里

#Doker owncloud 安装在omv机器上,安装omv时自动安装了nginx ,owncloud登录地址10.20.30.150:8082 docker run -d \ --name=owncloud \ -e OWNCLOUD_DOMAIN=localhost:8082 \ -p 8082:8080 \ -v /mnt/owncloud:/mnt/data \ --restart unless-stopped \ owncloud/server:latest #nginxWebUI的web端口是9080 配置如图 Screen Shot 2022-09-24 at 12 13 29 PM Screen Shot 2022-09-24 at 12 14 38 PM 路由器端口转发10.20.30.150:8082 到公网(xx.yyy.cn):8443 打开xx.yyy.cn:8443结果如下图(端口转发到10.20.30.150:8443也是一样结果) Screen Shot 2022-09-24 at 12 21 54 PM

jack338c avatar Sep 24 '22 04:09 jack338c

docker里已经安装了nginx,不需要外部再安装一个nginx,docker操作也只能操作自己内部的nginx

---原始邮件--- 发件人: @.> 发送时间: 2022年9月24日(周六) 中午12:23 收件人: @.>; 抄送: @.***>; 主题: [cym1102/nginxWebUI] docker安装owncloud 反代 (Issue #49)

大神好! 刚刚在使用您的nginxWebUI,但是反代总是不成功,请帮看下问题出在哪里

#Doker owncloud 安装在omv机器上,安装omv时自动安装了nginx ,owncloud登录地址10.20.30.150:8082 docker run -d \ --name=owncloud \ -e OWNCLOUD_DOMAIN=localhost:8082 \ -p 8082:8080 \ -v /mnt/owncloud:/mnt/data \ --restart unless-stopped \ owncloud/server:latest #nginxWebUI的web端口是9080 配置如图

路由器端口转发10.20.30.150:8082 到公网(xx.yyy.cn):8443 打开xx.yyy.cn:8443结果如下图(端口转发到10.20.30.150:8443也是一样结果)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

cym1102 avatar Sep 24 '22 04:09 cym1102

确实如您说的 Screen Shot 2022-09-24 at 12 43 16 PM

但是我不知道怎么修改,按下面链接的教程可以吗?,或者您方便teamviewer或者todesk远程帮我解决吗(OMV是armbian系统,h96max) https://blog.csdn.net/u010521588/article/details/123208313

jack338c avatar Sep 24 '22 04:09 jack338c

暂时没有空,你看看在网页上重启nginx试试

---原始邮件--- 发件人: @.> 发送时间: 2022年9月24日(周六) 中午12:46 收件人: @.>; 抄送: @.@.>; 主题: Re: [cym1102/nginxWebUI] docker安装owncloud 反代 (Issue #49)

确实如您说的

但是我不知道怎么修改,按下面链接的教程可以吗?,或者您方便teamviewer或者todesk远程帮我解决吗(OMV是armbian系统,h96max) https://blog.csdn.net/u010521588/article/details/123208313

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cym1102 avatar Sep 24 '22 04:09 cym1102

感谢! wechatID jack338c

jack338c avatar Sep 24 '22 04:09 jack338c

@cym1102 https://github.com/owncloud-docker/server/issues/89

The SSL functionality have been dropped recently. The container is listening to 8080 only now.

If you want to customize the image to get back ssl termination you can overwrite https://github.com/owncloud-docker/base/blob/master/rootfs/etc/templates/apache.conf and https://github.com/owncloud-docker/php/blob/master/rootfs/etc/apache2/ports.con.

But anyway we suggest to use a reverse proxy like nginx, haproxy or traefik for SSL termination.

jack338c avatar Sep 24 '22 05:09 jack338c