大佬教程收集整理的这篇文章主要介绍了用 docker 安装的 Nginx 无法上游到 https 主机,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
2021/04/11 10:35:38 [deBUG] 32#32: *1 SSL handshake handler: 0
2021/04/11 10:35:38 [deBUG] 32#32: *1 SSL_do_handshake: -1
2021/04/11 10:35:38 [deBUG] 32#32: *1 SSL_get_error: 5
2021/04/11 10:35:38 [error] 32#32: *1 peer closed connection in SSL handshake while SSL handshaking to upstream,clIEnt: 192.168.112.1,server: localhost,request: "GET ..."
我从与 docker 一起安装的 Nginx 错误日志中收到了上面的错误消息。
但它与我在本地系统中安装的 Nginx 中的相同配置一起工作得很好。
我需要为 Nginx docker 镜像添加更多设置吗?
这是我的 docker-compose.yml
文件:
services:
test-1:
image: Nginx:latest
ports:
- 52001:80
volumes:
- ./test/Nginx-1/Nginx.conf:/etc/Nginx/Nginx.conf:ro
- ./test/Nginx-1:/var/log/Nginx
command: [ Nginx-deBUG,'-g','daemon off;' ]
networks:
- test-Nginx
test-2:
image: Nginx:latest
ports:
- 52002:80
volumes:
- ./test/Nginx-2/Nginx.conf:/etc/Nginx/Nginx.conf:ro
- ./test/Nginx-2:/var/log/Nginx
networks:
- test-Nginx
networks:
test-Nginx:
driver: brIDge
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的用 docker 安装的 Nginx 无法上游到 https 主机全部内容,希望文章能够帮你解决用 docker 安装的 Nginx 无法上游到 https 主机所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。