enable ssl

This commit is contained in:
Anton McClure 2019-05-23 22:59:41 -04:00
parent 1f75f576a5
commit 9349aaa7e6
No known key found for this signature in database
GPG Key ID: DC9155FB2EEAA2EF
1 changed files with 16 additions and 17 deletions

View File

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