[Issue 118] Clean Up Site Configs (Sites-Available)

This commit is contained in:
Anton McClure
2019-05-24 16:17:58 -04:00
parent 01992b2c22
commit b17a7b2fd7
14 changed files with 115 additions and 147 deletions

View File

@@ -9,3 +9,20 @@
Deny from all
</Directorymatch>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@thunix.net
ServerName www.thunix.cf
DocumentRoot /var/www/thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/www.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.thunix.cf/privkey.pem
</VirtualHost>
</IfModule>