easy-test icon indicating copy to clipboard operation
easy-test copied to clipboard

大佬还在不在docker部署失败我觉得你这个平台相当好

Open weiyuanli opened this issue 9 months ago • 1 comments

nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:7 2024/05/11 09:37:11 [emerg] 1#1: cannot load certificate "/home/www.xxx.com.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/www.xxx.com.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: [emerg] cannot load certificate "/home/www.xxx.com.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/www.xxx.com.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) 2024/05/11 09:38:11 [warn] 1#1: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:7 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:7 2024/05/11 09:38:11 [emerg] 1#1: cannot load certificate "/home/www.xxx.com.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/www.xxx.com.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: [emerg] cannot load certificate "/home/www.xxx.com.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/www.xxx.com.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) 2024/05/11 09:39:11 [warn] 1#1: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:7 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:7 2024/05/11 09:39:11 [emerg] 1#1: cannot load certificate "/home/www.xxx.com.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/www.xxx.com.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: [emerg] cannot load certificate "/home/www.xxx.com.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/home/www.xxx.com.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

#vim /root/panda/easy-test-panda/easy-test-vue/Dockerfile FROM nginx:1.17

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone

#COPY dist/ /usr/share/nginx/html/

COPY default.conf /etc/nginx/conf.d/

#COPY www.xxx.com.pem /home/

#COPY www.xxx.com.key /home/ ~ ~

weiyuanli avatar May 11 '24 01:05 weiyuanli

很明显时SSL问题,你就别监听ssl 443了 直接用80 ,证书的配置全都注掉然后重启nginx容器

lay167892 avatar May 31 '24 09:05 lay167892