在使用vhost.sh脚本的时候选择2Use your own SSL Certificate and Key报的错

问答中心分类: Linux在使用vhost.sh脚本的时候选择2Use your own SSL Certificate and Key报的错
asundust 提问 3周 前

nginx: [emerg] BIO_new_file(“/usr/local/nginx/conf/ssl/www.example.com.crt”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/usr/local/nginx/conf/ssl/www.example.com.crt’,’r’) error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
[root@leeay oneinstack]# /usr/local/nginx/sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
 

问题标签:
1 问题
oneinstack 回答 3周 前

删除对于配置文件重新绑定 rm -f /usr/local/nginx/conf/vhost/www.example.com.conf