summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/root/apache2.kanboard.conf
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-10-19 10:39:17 +0200
committerDennis Eriksen <d@ennis.no>2019-10-19 10:39:17 +0200
commita95f7ea28b1d4fc5195d3b59892c5cba63b92556 (patch)
tree897b726583204a0a5f73a72e01f37974b3bd9231 /mkosi.skeleton/root/apache2.kanboard.conf
downloadmkosi-kanboard-a95f7ea28b1d4fc5195d3b59892c5cba63b92556.tar.gz
initial commit
Diffstat (limited to 'mkosi.skeleton/root/apache2.kanboard.conf')
-rw-r--r--mkosi.skeleton/root/apache2.kanboard.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/mkosi.skeleton/root/apache2.kanboard.conf b/mkosi.skeleton/root/apache2.kanboard.conf
new file mode 100644
index 0000000..12af95f
--- /dev/null
+++ b/mkosi.skeleton/root/apache2.kanboard.conf
@@ -0,0 +1,24 @@
+<VirtualHost *:8302>
+
+ ServerName kanboard.dnns.no
+ UseCanonicalName on
+
+ DocumentRoot /var/www/kanboard
+ DirectoryIndex index.php index.html
+
+ # To cirkumvent phps $_SERVER['HTTPS']-check
+ SetEnv HTTPS "on"
+
+ AcceptPathInfo On
+
+ # Trust the remote user forwarded by nginx
+ SetEnvIf X-Forwarded-User (.*) REMOTE_USER=$1
+
+ <Directory /var/www/kanboard/>
+ AllowOverride FileInfo Options=All,MultiViews AuthConfig
+ </Directory>
+
+</VirtualHost>
+
+
+