ansible/roles/webserver/files/etc/apache2/sites-available/thunix.cf-le-ssl.conf

18 lines
545 B
Plaintext
Raw Normal View History

2018-12-21 14:50:46 +00:00
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@thunix.net
2018-12-21 14:50:46 +00:00
ServerName thunix.cf
2019-01-04 17:19:17 +00:00
DocumentRoot /var/www/thunix.cf
2018-12-21 14:50:46 +00:00
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
2019-02-16 00:16:27 +00:00
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
2018-12-21 14:50:46 +00:00
Include /etc/letsencrypt/options-ssl-apache.conf
2019-02-16 00:16:27 +00:00
SSLCertificateFile /etc/letsencrypt/live/phoenix.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/phoenix.thunix.cf/privkey.pem
2018-12-21 14:50:46 +00:00
</VirtualHost>
</IfModule>