lnmp一键安装后不同域名登入不同站点
server
{
listen 80;
#listen [::]:80;
#server_name 10.16.1.80;
server_name www.qclocalmall.com qclocalmall.com 10.16.1.80;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/www.qclocalmall.com;
location /
{
try_files $uri @apache;
}
注意上面的IP地址为内网IP!!!!!!
本文转自 IT阿飞 51CTO博客,原文链接:http://blog.51cto.com/itafei/1736802