diff --git a/manifests/init.pp b/manifests/init.pp
index 88401d3ebf83c769a03fcbde990f02645e3ec413..d7248100c7c81fada02919e7f83d6dc406a5adc2 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 {