diff options
author | Dennis Eriksen <d@ennis.no> | 2019-11-12 07:46:32 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-11-12 07:46:32 +0100 |
commit | e54f406f33a501a5aacd47b813de6aeb472eca84 (patch) | |
tree | c4f27a32a6980435059c188b49ce9a4b79845c06 /mkosi.extra/etc/apache2/sites-available/kanboard.conf | |
parent | fuck ubuntus motd (diff) | |
download | mkosi-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.conf | 24 |
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> + + + |