added staticadventures.netlib.re conf

This commit is contained in:
Anton McClure 2019-03-26 19:41:03 -04:00
parent 806f62eac1
commit f7f63066d6
No known key found for this signature in database
GPG Key ID: DC9155FB2EEAA2EF
2 changed files with 35 additions and 1 deletions

View File

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

View File

@ -61,4 +61,10 @@
- name: Deploy apache2 site conf for lists.thunix.net.conf
copy:
src: ../files/etc/apache2/sites-available/lists.thunix.net.conf
dest: /etc/apache2/sites-available/lists.thunix.net.conf
dest: /etc/apache2/sites-available/lists.thunix.net.conf
- name: Deploy apache2 site conf for staticadventures.netlib.re
copy:
src: ../files/etc/apache2/sites-available/staticadventures.netlib.re.conf
dest: /etc/apache2/sites-available/staticadventures.netlib.re.conf