aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates/vhost_meetbot.conf
blob: a6f812c5ad27e9a2d576226d2a122b55212e4271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<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>

<VirtualHost *:443>
    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

<%= scope.function_template(["apache/vhost_ssl.conf"]) %>

    <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>