summaryrefslogtreecommitdiffstats
path: root/reporting/docker/nginx.conf
blob: 9e26972480e91cbc537bce87e8c2daa0716bd899 (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 / {
        proxy_pass http://backends;
    }

    location /reporting/ {
        alias /home/opnfv/utils/test/reporting/pages/dist/;
    }

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