您的位置:首页 > 运维架构 > Nginx

lnmp一键安装后不同域名登入不同站点

2016-01-20 14:48 471 查看
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!!!!!!


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux nginx