ansible/roles/webserver/files/etc/apache2/sites-available/deb.thunix.net.conf

27 lines
803 B
Plaintext
Raw Normal View History

2019-04-29 22:24:11 +00:00
<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
ServerName deb.thunix.net
2019-05-24 12:42:41 +00:00
ServerAlias deb.thunixme5v4rnoby.onion
2019-04-29 22:24:11 +00:00
DocumentRoot /var/www/deb.thunix.net
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
2019-05-25 14:13:46 +00:00
</Directorymatch>
2019-04-29 22:24:11 +00:00
</VirtualHost>
2019-05-25 14:13:46 +00:00
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@thunix.net
ServerName deb.thunix.net
ServerAlias deb.thunixme5v4rnoby.onion
DocumentRoot /var/www/deb.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>