summaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/apache2/sites-available
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.extra/etc/apache2/sites-available')
-rw-r--r--mkosi.extra/etc/apache2/sites-available/kanboard.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/mkosi.extra/etc/apache2/sites-available/kanboard.conf b/mkosi.extra/etc/apache2/sites-available/kanboard.conf
new file mode 100644
index 0000000..4f4c268
--- /dev/null
+++ b/mkosi.extra/etc/apache2/sites-available/kanboard.conf
@@ -0,0 +1,24 @@
+<VirtualHost *:8302>
+
+ ServerName kanboard
+ 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>
+
+
+