请教nginx添加配置域名的问题。

请教nginx添加配置域名的问题。在网上淘了一会,淘到一点,请高手指点下。我主要想知道,添加多个域名的问题,
在google上搜到的一篇代码中,有一个片断是这样的,
复制内容到剪贴板
代码:
server {
listen 12.34.56.78:80; # your server's public IP address
server_name domain.com; # your domain name

location / {
root /srv/www/nginx/domain.com; # absolute path to your WordPress installation
index index.php index.html index.htm;

# this serves static files that exist without running other rewrite tests
if (-f $request_filename) {
expires 30d;
break;
}

# this sends all non-existing file or directory requests to index.php
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q=$1 last;
}