[root@host ~]# nginx -tnginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is oknginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
复制代码
先生成的泛域名证书A域名的配置如下:
server
{
listen 80;
#listen [::]:80;
server_name aaaaaa.com ;
index index.html index.htm index.php default.html default.htm default.php;