summaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/apache2/sites-available/kanboard.conf
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 07:46:32 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 07:46:32 +0100
commite54f406f33a501a5aacd47b813de6aeb472eca84 (patch)
treec4f27a32a6980435059c188b49ce9a4b79845c06 /mkosi.extra/etc/apache2/sites-available/kanboard.conf
parentfuck ubuntus motd (diff)
downloadmkosi-kanboard-e54f406f33a501a5aacd47b813de6aeb472eca84.tar.gz
moving from mkosi.skeleton to mkosi.extra
Diffstat (limited to 'mkosi.extra/etc/apache2/sites-available/kanboard.conf')
-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>
+
+
+