From 24d6de3a5d4931ae3fee5be62435bac88f82fca6 Mon Sep 17 00:00:00 2001
From: Georg Pfuetzenreuter
Date: Fri, 21 Jul 2023 15:17:28 +0200
Subject: Add reverse proxy for Agola

New service behind ci.lysergic.dev / ci.git.com.de.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
---
 pillar/cluster/denc/web-proxy.sls | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'pillar')

diff --git a/pillar/cluster/denc/web-proxy.sls b/pillar/cluster/denc/web-proxy.sls
index 0bdeec7..2908f69 100644
--- a/pillar/cluster/denc/web-proxy.sls
+++ b/pillar/cluster/denc/web-proxy.sls
@@ -212,6 +212,17 @@ nginx:
             - error_log: /var/log/nginx/libsso_public.error.log
             - access_log: /var/log/nginx/libsso_public.access.log combined
 
+      agola.conf:
+        config:
+          - server:
+            - include:
+              - snippets/listen_ha
+              - snippets/tls_lysergic
+            - server_name: ci.lysergic.dev ci.git.com.de
+            - location /:
+              - proxy_pass: https://ci.lysergic.dev
+              - proxy_ssl_verify: true
+
 manage_firewall: True
 firewalld:
   zones:
-- 
cgit v1.2.3