Like this: .... server { listen 80; server_name 10.66.23.98 boy.zeuscn.com; #charset koi8-r; #access_log /var/log/nginx-access.log; access_log off root /usr/www/webroot; index index.php index.html index.htm; .......... nginx syntax check pass OK.