Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Anton McClure | 3c86d77cc7 | |
Anton McClure | 24ac5c2ba7 | |
Anton McClure | ff674bec11 | |
Anton McClure | d5da8ecaa5 | |
Anton McClure | 95e3cfaf29 |
|
@ -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>
|
|
@ -0,0 +1,28 @@
|
|||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@thunix.net
|
||||
ServerName git.thunix.net
|
||||
DocumentRoot /var/www/git.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 git.thunix.net
|
||||
# DocumentRoot /var/www/git.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/git.thunix.net/fullchain.pem
|
||||
# SSLCertificateKeyFile /etc/letsencrypt/live/git.thunix.net/privkey.pem
|
||||
# Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
#</VirtualHost>
|
||||
#</IfModule>
|
|
@ -0,0 +1,28 @@
|
|||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@thunix.net
|
||||
ServerName lists.thunix.net
|
||||
DocumentRoot /var/www/lists.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 lists.thunix.net
|
||||
# DocumentRoot /var/www/lists.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/lists.thunix.net/fullchain.pem
|
||||
# SSLCertificateKeyFile /etc/letsencrypt/live/lists.thunix.net/privkey.pem
|
||||
# Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
#</VirtualHost>
|
||||
#</IfModule>
|
|
@ -47,3 +47,18 @@
|
|||
copy:
|
||||
src: ../files/etc/apache2/sites-available/ftp.thunix.net.conf
|
||||
dest: /etc/apache2/sites-available/ftp.thunix.net.conf
|
||||
|
||||
- name: Deploy apache2 site conf for forums.thunix.net.conf
|
||||
copy:
|
||||
src: ../files/etc/apache2/sites-available/forums.thunix.net.conf
|
||||
dest: /etc/apache2/sites-available/forums.thunix.net.conf
|
||||
|
||||
- name: Deploy apache2 site conf for git.thunix.net.conf
|
||||
copy:
|
||||
src: ../files/etc/apache2/sites-available/git.thunix.net.conf
|
||||
dest: /etc/apache2/sites-available/git.thunix.net.conf
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Reference in New Issue