summaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/apache2/sites-available/kanboard.conf
blob: 4f4c26856cbd750b8ca1ebd73b96af1d2cea4735 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>