blob: 2414bde0c62116df14e044b6bb586459e9ceaad3 [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 }
Lathishb0b6dc02021-02-11 11:03:34 +000015 location /ei-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}