%{ for server in servers ~}
server {
server_name ${server.domain}
location / {
proxy_pass http://${server.ip}:${server.port}
}
%{ endfor ~}