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

18 lines
550 B
Plaintext
Raw Normal View History

2019-02-16 01:42:17 +00:00
<IfModule mod_ssl.c>
<VirtualHost *:443>
2019-02-16 02:29:20 +00:00
ServerAdmin amcclure@ttm.sh
2019-02-16 01:42:17 +00:00
ServerName dev.thunix.cf
DocumentRoot /var/www/dev.thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
SSLCertificateFile /etc/letsencrypt/live/dev.thunix.cf-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/dev.thunix.cf-0001/privkey.pem
2019-02-16 01:42:17 +00:00
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>