From 19887a00a378d8dcef1d8e82c38a3ae4fe2da12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 19 Jul 2021 22:17:49 +0200 Subject: Export varselklotet through regular webserver. --- manifests/site.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests') diff --git a/manifests/site.pp b/manifests/site.pp index ca11ca8..00cf9c1 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -7,6 +7,16 @@ node 'gandalf.adrift.space' { include ::profiles::gandalf_web + nginx::resource::location { '/varselklotet': + server => 'gandalf', + location_alias => '/home/hugo/wiki/varselklotet', + try_files => ['$uri', '$uri/', '=404'], + autoindex => 'on', + ssl => true, + ssl_only => true, + index_files => [], + } + class { 'profiles::transmission': nginx_server => 'gandalf', } -- cgit v1.2.3