summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-07-19 22:17:49 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-07-19 22:17:49 +0200
commit19887a00a378d8dcef1d8e82c38a3ae4fe2da12c (patch)
treef8eab02aaaed825dfde5dd5263fef0e2690b8ebe /manifests
parentPacman hook paths shouldn't start with '/'. (diff)
downloadwebdav_server-19887a00a378d8dcef1d8e82c38a3ae4fe2da12c.tar.gz
webdav_server-19887a00a378d8dcef1d8e82c38a3ae4fe2da12c.tar.xz
Export varselklotet through regular webserver.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site.pp10
1 files changed, 10 insertions, 0 deletions
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',
}