10 lines
163 B
Plaintext
10 lines
163 B
Plaintext
%{ for server in servers ~}
|
|
server {
|
|
server_name ${server.domain}
|
|
|
|
location / {
|
|
proxy_pass http://${server.ip}:${server.port}
|
|
}
|
|
}
|
|
|
|
%{ endfor ~} |