Migrated to ansible roles

This commit is contained in:
2022-03-05 13:31:25 +01:00
parent 67efc68362
commit 0912579ad1
11 changed files with 75 additions and 48 deletions

View File

@ -0,0 +1,13 @@
upstream app {
{% for host in groups['webserver'] %}
server {{ host }}:80;
{% endfor %}
}
server {
listen 80;
location / {
proxy_pass http://app;
}
}