From e865c17013f28898dd2da99be11bcb16228f4a47 Mon Sep 17 00:00:00 2001
From: Carlo Navarra <carlo.navarra@liu.se>
Date: Thu, 19 Jan 2023 12:53:57 +0000
Subject: [PATCH] Update manifests/init.pp

---
 manifests/init.pp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/manifests/init.pp b/manifests/init.pp
index 2e88a9f..48d2d1d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -59,6 +59,15 @@ class bright (
       server   => "${fact('networking.fqdn')} HTTPS",
       proxy    => 'http://localhost:8100/',
     }
+
+    nginx::resource::location { '/app2/':
+      ensure   => present,
+      ssl      => true,
+      ssl_only => true,
+      server   => "${fact('networking.fqdn')} HTTPS",
+      proxy    => 'http://localhost:8200/',
+    }
+
   }
 
   firewalld_service {
-- 
GitLab