From a3eb6d7e24f6dad7db02a59262b6456232a2e6f7 Mon Sep 17 00:00:00 2001 From: VC Date: Fri, 11 Jul 2025 15:56:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA:=20dc1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory/host_vars/dc1.yml | 4 ++++ roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2 | 8 ++++++++ roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2 | 8 ++++++++ 3 files changed, 20 insertions(+) create mode 100644 inventory/host_vars/dc1.yml create mode 100644 roles/nginx/templates/vhosts/kck.test.mateu.be.conf.j2 create mode 100644 roles/nginx/templates/vhosts/vlt.test.mateu.be.conf.j2 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; + } +} +