WIP loadbalancer config template

This commit is contained in:
strNophix 2022-02-23 15:52:06 +01:00
parent b9c35eac3c
commit 714cdecd0a

View File

@ -0,0 +1,15 @@
http {
upstream app {
{% for host in ip %}
server {{ host.ip }};
{% endfor %}
}
server {
listen 80;
location / {
proxy_pass http://app;
}
}
}