Update 'roles/webserver/files/etc/apache2/sites-available/www.amcclure.cf.conf'
This commit is contained in:
parent
74913982b2
commit
7c99a62c82
|
@ -9,3 +9,20 @@
|
||||||
Deny from all
|
Deny from all
|
||||||
</Directorymatch>
|
</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>
|
||||||
|
|
Loading…
Reference in New Issue