summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/root/apache2.kanboard.conf
blob: 53454a158719c13c99ee6ee118decb05bace8610 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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

</VirtualHost>