summaryrefslogtreecommitdiffstats
path: root/reporting/docker/nginx.conf
blob: 7a416400dd525de88cdc8bb17afd820e3bbc934a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
upstream backends {
    server localhost:8001;
    server localhost:8002;
    server localhost:8003;
    server localhost:8004;
}


server {
    listen 8000;
    server_name localhost;

    location / {
        alias /home/opnfv/releng-testresults/reporting/pages/dist/;
    }

    location /api/ {
        proxy_pass http://backends/;
    }

    location /display/ {
        alias /home/opnfv/releng-testresults/reporting/display/;
    }
}