From 06d997dc4ed9c04b81abbf84f581a65b9e0c54da Mon Sep 17 00:00:00 2001
From: nrb <freifunk@nicoboehr.de>
Date: Sun, 10 Jan 2021 10:50:25 +0100
Subject: [PATCH] add revproxy-03

---
 .../revproxy                                  | 61 +++++++++++++++++++
 .../revproxy-03.freifunk-stuttgart.de/ssh     |  2 +
 inventory/ffs03                               |  2 +
 inventory/revproxy                            |  1 +
 4 files changed, 66 insertions(+)
 create mode 100644 host_vars/revproxy-03.freifunk-stuttgart.de/revproxy
 create mode 100644 host_vars/revproxy-03.freifunk-stuttgart.de/ssh

diff --git a/host_vars/revproxy-03.freifunk-stuttgart.de/revproxy b/host_vars/revproxy-03.freifunk-stuttgart.de/revproxy
new file mode 100644
index 0000000..8a9575f
--- /dev/null
+++ b/host_vars/revproxy-03.freifunk-stuttgart.de/revproxy
@@ -0,0 +1,61 @@
+---
+letsencrypt_account_email: "hostmaster@freifunk-stuttgart.de"
+letsencrypt_acme_directory: "https://acme-v02.api.letsencrypt.org/directory"
+vhosts:
+  - domain: ffs03.freifunk-stuttgart.de
+    backend: "https://10.0.3.1:8006/"
+    type: proxy
+  - domain: gitlab.freifunk-stuttgart.de
+    backend: "http://10.0.3.220:8081/"
+    max_body_size: 5G
+    type: proxy
+  - domain: registry.gitlab.freifunk-stuttgart.de
+    backend: "http://10.0.3.220:8082/"
+    max_body_size: 5G
+    type: proxy
+  - domain: maillist.freifunk-stuttgart.de
+    backend: "http://10.0.3.232/"
+    type: proxy
+  - domain: ticket.freifunk-stuttgart.de
+    backend: "http://10.0.3.234/"
+    type: proxy
+  - domain: wiki-testing.freifunk-stuttgart.de
+    backend: "http://10.0.3.194/"
+    type: proxy
+  - domain: www-staging.freifunk-stuttgart.de
+    backend: "http://10.0.3.226/"
+    type: proxy
+  - domain: wiki.freifunk-stuttgart.de
+    redirect: "https://wiki.freifunk-stuttgart.net"
+    type: redirect
+  - domain: wiki.freifunk-stuttgart.net
+    backend: "http://10.0.3.221/"
+    max_body_size: 100M
+    type: proxy
+  - domain: passbolt.freifunk-stuttgart.de
+    backend: "http://10.0.3.235/"
+    type: proxy
+  - domain: prometheus.freifunk-stuttgart.de
+    backend: "http://10.0.3.171:9090/"
+    type: proxy
+  - domain: grafana.freifunk-stuttgart.de
+    backend: "http://10.0.3.237/"
+    type: proxy
+  - domain: map02.freifunk-stuttgart.de
+    backend: "http://10.0.3.236/"
+    type: proxy
+  - domain: map.freifunk-stuttgart.de
+    backend: "http://10.0.3.236/"
+    type: proxy
+  - domain: netinfo.freifunk-stuttgart.de
+    backend: "http://10.0.3.236/"
+    type: proxy
+  - domain: karte.freifunk-stuttgart.de
+    backend: "http://10.0.3.236/"
+    type: proxy
+  - domain: unifi.freifunk-stuttgart.de
+    backend: "https://10.0.3.222:8443/"
+    type: proxy
+  - domain: owe.freifunk-stuttgart.de
+    redirect: "https://wiki.freifunk-stuttgart.net/technik:owe"
+    type: redirect
diff --git a/host_vars/revproxy-03.freifunk-stuttgart.de/ssh b/host_vars/revproxy-03.freifunk-stuttgart.de/ssh
new file mode 100644
index 0000000..a74af17
--- /dev/null
+++ b/host_vars/revproxy-03.freifunk-stuttgart.de/ssh
@@ -0,0 +1,2 @@
+---
+ssh_disable_password_login: yes
diff --git a/inventory/ffs03 b/inventory/ffs03
index b7d9e77..f2df564 100644
--- a/inventory/ffs03
+++ b/inventory/ffs03
@@ -15,6 +15,8 @@ ffs03:
       ansible_ssh_host: 3191.ffs03
     wiki-testing.freifunk-stuttgart.de:
       ansible_ssh_host: 3194.ffs03
+    revproxy-03.freifunk-stuttgart.de:
+      ansible_ssh_host: 3213.ffs03
     gitlab01.freifunk-stuttgart.de:
       ansible_ssh_host: 3220.ffs03
     wiki.freifunk-stuttgart.de:
diff --git a/inventory/revproxy b/inventory/revproxy
index 184fd5d..849a46a 100644
--- a/inventory/revproxy
+++ b/inventory/revproxy
@@ -2,4 +2,5 @@
 revproxy:
   hosts:
     revproxy-05.freifunk-stuttgart.de:
+    revproxy-03.freifunk-stuttgart.de:
     
-- 
GitLab