diff options
Diffstat (limited to 'ansible/roles/mw-backend/files')
-rw-r--r-- | ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf b/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf index 3823cf1..0af172a 100644 --- a/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf +++ b/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf @@ -4,11 +4,15 @@ ServerName mw.trygvis.io ServerAdmin webmaster@trygvis.io - DocumentRoot /var/lib/mediawiki + DocumentRoot /var/www/mw.trygvis.io ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined + Alias /w /var/lib/mediawiki + Alias /wiki /var/lib/mediawiki/index.php + RedirectMatch permanent ^/$ /wiki/Main_Page + <Directory /var/lib/mediawiki/> Options +FollowSymLinks AllowOverride All |