summaryrefslogtreecommitdiff
path: root/roles/apt_repository/templates/apache-http.conf
blob: 46a54eda41a5d23c0a811a0c65b49a5cc2bf4e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Listen 8080
<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>