916caef6a2729cfde27819b57e14f8e201a667c4
[oam.git] / solution / integration / smo / non-rt-ric / 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 / {
20             try_files $uri $uri/ /index.html;
21         }
22     }
23 }