78788909 发表于 2016-1-21 08:50:59

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!!!!!!

                   

页: [1]
查看完整版本: lnmp一键安装后不同域名登入不同站点