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

19 lines
570 B
Plaintext
Raw Normal View History

2019-06-28 14:57:10 +00:00
<VirtualHost *:80>
ServerAdmin webmaster@thunix.net
2019-09-09 12:49:55 +00:00
ServerName wiki.thunix.net
ServerAlias wiki.thunix.tilde
2019-06-28 14:57:10 +00:00
DocumentRoot /var/www/wiki.thunix.net
2021-03-20 22:31:25 +00:00
ErrorLog ${APACHE_LOG_DIR}/error_wiki.log
CustomLog ${APACHE_LOG_DIR}/access_wiki.log combined
2019-06-28 23:14:03 +00:00
<Directory /var/www/wiki.thunix.net>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
2019-06-28 14:57:10 +00:00
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
2019-06-30 18:56:36 +00:00
Redirect permanent / https://wiki.thunix.net/
2019-06-28 14:57:10 +00:00
</VirtualHost>