3416fd4ebae7d6db4afceacb3e4f098c05d12249
[nonrtric/rapp/ransliceassurance.git] / docker-compose / icsversion / config / control-panel / nginx.conf
1 events{}
2
3 http {
4     include /etc/nginx/mime.types;
5     resolver 127.0.0.11;
6     server {
7         listen 8080;
8         server_name localhost;
9         root /usr/share/nginx/html;
10         index index.html;
11         location /a1-policy/ {
12             set $upstream nonrtric-gateway;
13             proxy_pass http://$upstream:9090;
14         }
15         location /data-producer/{
16             set $upstream nonrtric-gateway;
17             proxy_pass http://$upstream:9090;
18         }
19         location /data-consumer/{
20             set $upstream nonrtric-gateway;
21             proxy_pass http://$upstream:9090;
22         }
23         location / {
24             try_files $uri $uri/ /index.html;
25         }
26     }
27 }