jdormit-infra/prod/nginx/packer/terraform/templates/nginx.conf.template

10 lines
163 B
Plaintext
Raw Normal View History

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