add apache conf for stats.thunix.net.conf - site ssl remains disabled until certbot is ran for domain

This commit is contained in:
Anton McClure 2019-05-23 22:46:16 -04:00
parent 876c79177a
commit 227e79ce18
No known key found for this signature in database
GPG Key ID: DC9155FB2EEAA2EF
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
ServerName stats.thunix.net
DocumentRoot /var/www/stats.thunix.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
</VirtualHost>
## DO NOT ENABLE UNTIL CERTBOT HAS BEEN RAN FOR STATS.THUNIX.NET! (Remove this notice once enabled)
#<IfModule mod_ssl.c>
#<VirtualHost *:443>
# ServerAdmin webmaster@thunix.net
# ServerName stats.thunix.net
# DocumentRoot /var/www/stats.thunix.net
# 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/stats.thunix.net/fullchain.pem
# SSLCertificateKeyFile /etc/letsencrypt/live/stats.thunix.net/privkey.pem
# Include /etc/letsencrypt/options-ssl-apache.conf
#</VirtualHost>
#</IfModule>