2019-01-04 00:35:03 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin amcclure@ttm.sh
|
2019-01-09 00:48:21 +00:00
|
|
|
ServerName amcclure.cf
|
2019-01-10 20:31:58 +00:00
|
|
|
DocumentRoot /var/www/amcclure
|
2019-01-04 00:35:03 +00:00
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directorymatch "^/.*/\.git/">
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directorymatch>
|
2019-01-09 16:22:06 +00:00
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
<IfModule mod_ssl.c>
|
|
|
|
<VirtualHost *:443>
|
|
|
|
ServerAdmin amcclure@ttm.sh
|
|
|
|
ServerName amcclure.cf
|
2019-01-10 20:31:58 +00:00
|
|
|
DocumentRoot /var/www/amcclure
|
2019-01-09 16:22:06 +00:00
|
|
|
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/amcclure.cf/fullchain.pem
|
|
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/amcclure.cf/privkey.pem
|
|
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
|
|
</VirtualHost>
|
|
|
|
</IfModule>
|