From 053825193fbee46db2c1e1a63c2685493ca535fe Mon Sep 17 00:00:00 2001 From: Tiago Carrondo Date: Sun, 20 Mar 2022 20:19:57 +0000 Subject: [PATCH 1/3] adicionar os 2 containers importados --- 02_lxc_containers.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/02_lxc_containers.yaml b/02_lxc_containers.yaml index a1277dd..62e8378 100644 --- a/02_lxc_containers.yaml +++ b/02_lxc_containers.yaml @@ -19,6 +19,8 @@ with_items: - haproxy - gitea + - freescout + - pretalx - name: Create haproxy port forwards community.general.lxd_container: name: haproxy From 95d3ff27413ae504209fd1a9821e0891e746fb5b Mon Sep 17 00:00:00 2001 From: Tiago Carrondo Date: Sun, 20 Mar 2022 20:22:06 +0000 Subject: [PATCH 2/3] adicionar as entradas no haproxy --- files/ha_haproxy.cfg.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/files/ha_haproxy.cfg.j2 b/files/ha_haproxy.cfg.j2 index 822ae7c..7cbe5a7 100644 --- a/files/ha_haproxy.cfg.j2 +++ b/files/ha_haproxy.cfg.j2 @@ -73,6 +73,14 @@ frontend http_https acl git-ansol-org hdr(host) -i git.ansol.org use_backend git-ansol-org if git-ansol-org + # Go to freescout + acl freescout hdr(host) -i inbox.ansol.org + use_backend freescout if freescout + + # Go to pretalx + acl pretalx hdr(host) -i manage.ubucon.org + use_backend pretalx if pretalx + # Let's Encrypt backend letsencrypt @@ -82,3 +90,13 @@ backend letsencrypt backend git-ansol-org server git-ansol-org gitea:3000 check + +# Freescout + +backend freescout + server freescout freescout:80 check + +# Pretalx + +backend pretalx + server pretalx 10.81.14.52:80 check From 2b9a4d866e65af004978465734cce63a87d2c4d4 Mon Sep 17 00:00:00 2001 From: Tiago Carrondo Date: Sun, 20 Mar 2022 20:27:31 +0000 Subject: [PATCH 3/3] pimp --- files/ha_haproxy.cfg.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/ha_haproxy.cfg.j2 b/files/ha_haproxy.cfg.j2 index 7cbe5a7..e9b2538 100644 --- a/files/ha_haproxy.cfg.j2 +++ b/files/ha_haproxy.cfg.j2 @@ -73,11 +73,11 @@ frontend http_https acl git-ansol-org hdr(host) -i git.ansol.org use_backend git-ansol-org if git-ansol-org - # Go to freescout + # Freescout acl freescout hdr(host) -i inbox.ansol.org use_backend freescout if freescout - # Go to pretalx + # Pretalx acl pretalx hdr(host) -i manage.ubucon.org use_backend pretalx if pretalx