From 07b3a6947dfe2eed9d21da93d8d02d3c03de0804 Mon Sep 17 00:00:00 2001
From: Stefan Bethke <stb@lassitu.de>
Date: Sat, 1 Feb 2025 12:46:54 +0100
Subject: [PATCH] Add Hub for EH22

---
 .../chaosknoten/public-reverse-proxy/nginx/acme_challenge.conf   | 1 +
 resources/chaosknoten/public-reverse-proxy/nginx/nginx.conf      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/resources/chaosknoten/public-reverse-proxy/nginx/acme_challenge.conf b/resources/chaosknoten/public-reverse-proxy/nginx/acme_challenge.conf
index 2bdeefb..30eebc7 100644
--- a/resources/chaosknoten/public-reverse-proxy/nginx/acme_challenge.conf
+++ b/resources/chaosknoten/public-reverse-proxy/nginx/acme_challenge.conf
@@ -70,6 +70,7 @@ map $host $upstream_acme_challenge_host {
     design.hamburg.ccc.de 172.31.17.162:31820;
     hydra.hamburg.ccc.de 172.31.17.163:31820;
     cfp.eh22.easterhegg.eu 172.31.17.157:31820;
+    hub.eh22.easterhegg.eu eh22hub-intern.hamburg.ccc.de:31820;
     default "";
 }
 
diff --git a/resources/chaosknoten/public-reverse-proxy/nginx/nginx.conf b/resources/chaosknoten/public-reverse-proxy/nginx/nginx.conf
index 324a563..b5f1d98 100644
--- a/resources/chaosknoten/public-reverse-proxy/nginx/nginx.conf
+++ b/resources/chaosknoten/public-reverse-proxy/nginx/nginx.conf
@@ -88,6 +88,7 @@ stream {
         design.hamburg.ccc.de 172.31.17.162:8443;
         hydra.hamburg.ccc.de 172.31.17.163:8443;
         cfp.eh22.easterhegg.eu pretalx-intern.hamburg.ccc.de:8443;
+        hub.eh22.easterhegg.eu eh22hub-intern.hamburg.ccc.de:8443;
     }
 
     server {