执行./vhost.sh 时NGINX和Apache的文件没有生成,前面的都是正常的

问答中心分类: Nginx执行./vhost.sh 时NGINX和Apache的文件没有生成,前面的都是正常的
hongyao asked 5年 ago
nginx: [emerg] BIO_new_file(\\\\\\\\”/usr/local/nginx/conf/ssl/www.aisunyu.com.crt\\\\\\\\”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\\\\\\\\’/usr/local/nginx/conf/ssl/www.aisunyu.com.crt\\\\\\\\’,\\\\\\\\’r\\\\\\\\’) error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Create virtualhost … [FAILED]
Syntax error on line 6 of /usr/local/apache/conf/vhost/www.aisunyu.com.conf:
Invalid command \\\\\\\\’SSLEngine\\\\\\\\’, perhaps misspelled or defined by a module not included in the server configuration

1 Answers
oneinstack answered 5年 ago
nginx -t 检查到语法报错了。