From e2463d7460b7e86de14e4f8ae64b1e27ae83a443 Mon Sep 17 00:00:00 2001
From: shirenn <shirenn@crans.org>
Date: Fri, 14 Jan 2022 12:31:15 +0100
Subject: [PATCH] [mirror] move mirror to eclats

---
 group_vars/reverseproxy.yml       | 1 +
 host_vars/eclat.adm.crans.org.yml | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/group_vars/reverseproxy.yml b/group_vars/reverseproxy.yml
index c4e104bb..9040308e 100644
--- a/group_vars/reverseproxy.yml
+++ b/group_vars/reverseproxy.yml
@@ -61,6 +61,7 @@ glob_reverseproxy:
     - {from: intranet.crans.org, to: 172.16.10.156}
     - {from: linx.crans.org, to: "172.16.10.119:8080"}
     - {from: lists.crans.org, to: 172.16.10.110}
+    - {from: mirrors.crans.org, to: 172.16.10.104}
     - {from: owncloud.crans.org, to: 172.16.10.136}
     - {from: pad.crans.org, to: "172.16.10.130:9001"}
     - {from: re2o.crans.org, to: 172.16.10.156}
diff --git a/host_vars/eclat.adm.crans.org.yml b/host_vars/eclat.adm.crans.org.yml
index 83326028..a08fc386 100644
--- a/host_vars/eclat.adm.crans.org.yml
+++ b/host_vars/eclat.adm.crans.org.yml
@@ -37,6 +37,10 @@ loc_nginx:
         - "eclat.*"
         - "eclats"
         - "eclats.*"
+        - "mirror"
+        - "mirror.*"
+        - "mirrors"
+        - "mirrors.*"
       root: "/mirror/pub"
       locations:
         - filter: "/"
-- 
GitLab