Add 'roles/webserver/files/etc/apache2/sites-available/forums.thunix.net.conf'

This commit is contained in:
Anton McClure 2019-02-24 20:18:43 -05:00
parent 14c866ba36
commit 3f1a9fcecd
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
ServerName forums.thunix.net
DocumentRoot /var/www/forums.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>
#<IfModule mod_ssl.c>
# <VirtualHost *:443>
# ServerAdmin webmaster@thunix.net
# ServerName forums.thunix.net
# DocumentRoot /var/www/forums.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/forums.thunix.net/fullchain.pem
# SSLCertificateKeyFile /etc/letsencrypt/live/forums.thunix.net/privkey.pem
# Include /etc/letsencrypt/options-ssl-apache.conf
#</VirtualHost>
#</IfModule>