aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-12-13 23:12:02 +0000
committerPascal Terjan <pterjan@mageia.org>2017-12-13 23:12:34 +0000
commit56235330250bf1e24efc8f9c2e2178f94d41971f (patch)
treecea970576bd944beed9e057d76b4247fbcc861a3 /deployment/websites/templates
parenta89d0cf6cc1890ee738ba50b8bf5a6a9c23c5dd1 (diff)
downloadpuppet-56235330250bf1e24efc8f9c2e2178f94d41971f.tar
puppet-56235330250bf1e24efc8f9c2e2178f94d41971f.tar.gz
puppet-56235330250bf1e24efc8f9c2e2178f94d41971f.tar.bz2
puppet-56235330250bf1e24efc8f9c2e2178f94d41971f.tar.xz
puppet-56235330250bf1e24efc8f9c2e2178f94d41971f.zip
Setup vhost for meeting logs
Diffstat (limited to 'deployment/websites/templates')
-rw-r--r--deployment/websites/templates/vhost_meetbot.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_meetbot.conf b/deployment/websites/templates/vhost_meetbot.conf
new file mode 100644
index 00000000..6c393f7a
--- /dev/null
+++ b/deployment/websites/templates/vhost_meetbot.conf
@@ -0,0 +1,17 @@
+<VirtualHost *:80>
+ ServerAdmin sysadm@mageia.org
+ ServerName meetbot.<%= domain %>
+ DocumentRoot <%= scope.lookupvar("websites::meetbot::vhostdir") %>
+
+ CustomLog /var/log/httpd/access_meetbot_log combined
+ ErrorLog /var/log/httpd/error_meetbot_log
+ <Directory <%= scope.lookupvar("websites::meetbot::vhostdir") %>>
+ Allow from all
+ <IfModule mod_authz_core.c>
+ Require all granted
+ </IfModule>
+ Options +Indexes
+ IndexIgnore .htaccess *.bak *~ *.txt *.log.html
+ </Directory>
+</VirtualHost>
+