blob: 916caef6a2729cfde27819b57e14f8e201a667c4 [file] [log] [blame]
RehanRaza38c1f882021-01-19 13:39:59 +01001events{}
2
3http {
4 include /etc/nginx/mime.types;
Lathishefd402e2021-02-15 16:41:52 +00005 resolver 127.0.0.11;
RehanRaza38c1f882021-01-19 13:39:59 +01006 server {
7 listen 8080;
8 server_name localhost;
9 root /usr/share/nginx/html;
10 index index.html;
Lathish27311662021-02-09 15:06:52 +000011 location /a1-policy/ {
Lathishefd402e2021-02-15 16:41:52 +000012 set $upstream nonrtric-gateway;
13 proxy_pass http://$upstream:9090;
Lathish27311662021-02-09 15:06:52 +000014 }
ecaiyanlinux192aa4e2021-06-06 00:13:42 +080015 location /data-producer/{
Lathishefd402e2021-02-15 16:41:52 +000016 set $upstream nonrtric-gateway;
17 proxy_pass http://$upstream:9090;
RehanRaza38c1f882021-01-19 13:39:59 +010018 }
RehanRazae838dbd2021-02-02 11:24:34 +010019 location / {
20 try_files $uri $uri/ /index.html;
21 }
RehanRaza38c1f882021-01-19 13:39:59 +010022 }
23}