From 33ab1fb287d64c5f27eb135a8dbb42a3629ec636 Mon Sep 17 00:00:00 2001
From: Joakim Olovsson <joakim.olovsson@liu.se>
Date: Wed, 14 Sep 2022 07:47:02 +0200
Subject: [PATCH] Add proxy directive

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

diff --git a/manifests/init.pp b/manifests/init.pp
index cb7fb95..88401d3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -26,6 +26,10 @@ class ai4ca (
     ssl_ciphers   => 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384',
   }
 
+  nginx::resource::location { '/test':
+    proxy => 'http://localhost:8100',
+  }
+
   firewalld_service {
     'nginx http LiU':
       zone    => 'liu',
-- 
GitLab