которые там указаны "ns1.localhost.ltd и ns2.localhost.ltd"
server{
listen 80;
server_name domain1.ru;
location / {
proxy_pass http://domain1.ru;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $phost;
}
}