This file is indexed.

/etc/apache2/sites-available/lava-server.conf is in lava-server 2016.12-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#NameVirtualHost 127.0.0.1:80
#<VirtualHost lava-server:80>
<VirtualHost *:80>
    ServerAdmin webmaster@localhost

    Alias /static/ /usr/share/lava-server/static/
    Alias /tmp/ /var/lib/lava/dispatcher/tmp/
    Alias /favicon.ico /usr/share/lava-server/static/lava-server/images/logo.png

    # Let apache2 handle these URIs
    ProxyPass /static !
    ProxyPass /tmp !
    ProxyPass /favicon.ico !
    # Send request to Gunicorn
    ProxyPass / http://127.0.0.1:8000/
    ProxyPassReverse / http://127.0.0.1:8000/

    # Allow serving media, static and other custom files
    <Directory /usr/share/lava-server/static/lava-server/>
        Options FollowSymLinks
        AllowOverride None
         Require all granted
    </Directory>

    DocumentRoot /usr/share/lava-server/static/lava-server/

    # Make exceptions for static and media.
    # This allows apache to serve those and offload the application server
    <Location /static>
        SetHandler      none
    </Location>

    # images folder for lava-dispatcher tarballs
    <Location /images/>
        SetHandler      none
    </Location>
    <Directory /var/lib/lava/dispatcher/tmp>
        Options Indexes
        Require all granted
        AllowOverride None
    </Directory>

    <Directory /usr/share/lava-server/static>
        Require all granted
    </Directory>

    LogLevel info
    ErrorLog ${APACHE_LOG_DIR}/lava-server.log
    CustomLog ${APACHE_LOG_DIR}/lava-server.log combined
</VirtualHost>