From 37d104f7d74fd7b5fd6b65caf6f4d0dcf0cd614a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 25 Feb 2018 07:15:53 +0100 Subject: wip --- .../etc/apache2/sites-enabled/000-default.conf | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf (limited to 'ansible/roles/mw-backend/files/etc/apache2/sites-enabled') 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 new file mode 100644 index 0000000..3823cf1 --- /dev/null +++ b/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf @@ -0,0 +1,56 @@ +# Based on /etc/apache2/conf-available/mediawiki.conf + + + ServerName mw.trygvis.io + + ServerAdmin webmaster@trygvis.io + DocumentRoot /var/lib/mediawiki + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + Options +FollowSymLinks + AllowOverride All + = 2.3> + Require all granted + + + order allow,deny + allow from all + + + +# some directories must be protected + + Options -FollowSymLinks + AllowOverride None + + php_admin_flag engine off + + + php_admin_flag engine off + + + + Options -FollowSymLinks + AllowOverride None + + php_admin_flag engine off + + + php_admin_flag engine off + + + + Options -FollowSymLinks + AllowOverride None + + php_admin_flag engine off + + + php_admin_flag engine off + + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet -- cgit v1.2.3