summaryrefslogtreecommitdiffstats
path: root/reporting/docker/nginx.conf
blob: 66bd7e497781dda5a6d9c92fff796a09844700ec (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/utils/test/reporting/pages/dist/;
    }

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

    location /display/ {
        alias /home/opnfv/releng/utils/test/reporting/display/;
    }
}