server {
listen 192.168.80.130;
root /var/www/web2/;
location / {
index index.html;
}
} IP地址
server {
listen 192.168.80.150;
server_name www1.pip.cc;
root /var/www/web3/;
location / {
index index.html;
}
} 域名