Update 'roles/webserver/files/etc/apache2/sites-available/www.amcclure.cf.conf'

This commit is contained in:
Anton McClure 2019-01-09 11:21:39 -05:00
parent 74913982b2
commit 7c99a62c82
1 changed files with 18 additions and 1 deletions

View File

@ -8,4 +8,21 @@
Order deny,allow
Deny from all
</Directorymatch>
</VirtualHost>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin amcclure@ttm.sh
ServerName www.amcclure.cf
DocumentRoot /var/www/amcclure/www
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/www.amcclure.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.amcclure.cf/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>