summaryrefslogtreecommitdiff
path: root/roles/apt_repository/templates/apache-http.conf
blob: c15905fad52e2876197085163ba790f000293e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<VirtualHost _default_:{{ apache_port }}>
        ServerAdmin {{ apt_admin_email }}

        DocumentRoot /srv/http
        Alias "/debian" "/srv/apt"

        <Directory /srv/http>
            Require all granted
        </Directory>

        <Directory /srv/apt>
            Options +Indexes
            Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>