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

18 lines
528 B
Plaintext

<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
<Directory /var/www/wiki.thunix.net>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directorymatch "^/.*/\.git/">
Order deny,allow
Deny from all
</Directorymatch>
Redirect permanent / https://wiki.thunix.net/
</VirtualHost>