Adding wiki.thunix.net
This commit is contained in:
parent
d30cf5f746
commit
4340424c75
|
@ -0,0 +1,11 @@
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerAdmin webmaster@thunix.net
|
||||||
|
ServerName wiki.thunix.net
|
||||||
|
DocumentRoot /var/www/wiki.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>
|
|
@ -82,3 +82,8 @@
|
||||||
copy:
|
copy:
|
||||||
src: ../files/etc/apache2/sites-available/stats.thunix.net.conf
|
src: ../files/etc/apache2/sites-available/stats.thunix.net.conf
|
||||||
dest: /etc/apache2/sites-available/stats.thunix.net.conf
|
dest: /etc/apache2/sites-available/stats.thunix.net.conf
|
||||||
|
|
||||||
|
- name: Deploy apache site conf for wiki.thunix.net
|
||||||
|
copy:
|
||||||
|
src: ../files/etc/apache2/sites-available/wiki.thunix.net.conf
|
||||||
|
dest: /etc/apache2/sites-available/wiki.thunix.net.conf
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
dest: /var/gopher
|
dest: /var/gopher
|
||||||
force: yes
|
force: yes
|
||||||
|
|
||||||
|
- git:
|
||||||
|
repo: 'https://tildegit.org/thunix/wiki.git'
|
||||||
|
dest: /var/www/wiki.thunix.net
|
||||||
|
force: yes
|
||||||
|
|
||||||
- file:
|
- file:
|
||||||
path: /var/www/autoconfig/mail
|
path: /var/www/autoconfig/mail
|
||||||
state: directory
|
state: directory
|
||||||
|
|
Loading…
Reference in New Issue