blob: dd0b490c6bb42d0253ad94d5217e886322d7c699 (
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
|
<VirtualHost _default_:443>
ServerAdmin {{ apt_admin_email }}
ServerName {{ letsencrypt_domain }}
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
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/{{ letsencrypt_domain }}/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/{{ letsencrypt_domain }}/privkey.pem
</VirtualHost>
|