如下配置:
server {
listen 80;
server_name www.无极剑圣.com;
location / {
root home0;
index index.html index.htm;
}
}
server {
listen 80;
server_name www.无双剑姬.com;
location / {
root home1;
index index.html index.htm;
}
}
废话我就不多说了