Add 'roles/webserver/files/etc/apache2/sites-available/amcclure.ttm.sh'

This commit is contained in:
Anton McClure 2019-01-10 16:03:00 -05:00
parent de64acd8e4
commit c9e1a8cb30
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<VirtualHost *:80>
ServerAdmin amcclure@ttm.sh
ServerName amcclure.ttm.sh
DocumentRoot /var/www/amcclure
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
</VirtualHost>
# <IfModule mod_ssl.c>
# <VirtualHost *:443>
# ServerAdmin amcclure@ttm.sh
# ServerName amcclure.ttm.sh
# DocumentRoot /var/www/amcclure
# 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.ttm.sh/fullchain.pem
# SSLCertificateKeyFile /etc/letsencrypt/live/amcclure.tt.sh/privkey.pem
# Include /etc/letsencrypt/options-ssl-apache.conf
# </VirtualHost>
# </IfModule>