From b2d312d7ea75d9c897f2048e6779ab2c8a301add Mon Sep 17 00:00:00 2001
From: Joakim Olovsson <joakim.olovsson@liu.se>
Date: Wed, 14 Sep 2022 08:00:42 +0200
Subject: [PATCH] Set server

---
 manifests/init.pp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index 88401d3..d724810 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,7 +27,8 @@ class ai4ca (
   }
 
   nginx::resource::location { '/test':
-    proxy => 'http://localhost:8100',
+    server => "${fact('networking.fqdn')} HTTPS",
+    proxy  => 'http://localhost:8100',
   }
 
   firewalld_service {
-- 
GitLab