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

18 lines
528 B
Plaintext
Raw Normal View History

2019-06-28 14:57:10 +00:00
<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
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>