使用 WebAddDomain接口添加网站域名,域名可以添加到列表中,但是配置文件中的server_name没有相应的添加,导致新添加的域名无法访问。
通过 API添加www.test2.com,配置文件中没有相应的www.test2.com listen 80;
server_name www.test.com www.test1.com;
index index.php index.html index.htm default.php default.htm default.html;
root /www/wwwroot/www.test.com;
|
|