server {
listen 80;
server_name mysite.ru www.mysite.ru;
location / {
root /var/www;
index index.html;
}
}
nginx: [warn] conflicting server name "mysite.ru" on 0.0.0.0:80, ignored