diff --git a/inventory/host_vars/dc1.yml b/inventory/host_vars/dc1.yml new file mode 100644 index 0000000..7fa6f4a --- /dev/null +++ b/inventory/host_vars/dc1.yml @@ -0,0 +1,4 @@ +--- +web_hostname: + - host: kck.test.mateu.be + - host: vlt.test.mateu.be diff --git a/roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2 b/roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2 new file mode 100644 index 0000000..7c55fe4 --- /dev/null +++ b/roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2 @@ -0,0 +1,8 @@ +server { +{% include './templates/header.conf.j2' %} + + location / { + proxy_pass http://localhost:8080; + } +} + diff --git a/roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2 b/roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2 new file mode 100644 index 0000000..1cf6530 --- /dev/null +++ b/roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2 @@ -0,0 +1,8 @@ +server { +{% include './templates/header.conf.j2' %} + + location / { + proxy_pass http://localhost:8200; + } +} +