blob: 2414bde0c62116df14e044b6bb586459e9ceaad3 [file] [log] [blame]
RehanRazaf9523c12021-01-08 17:54:16 +01001events{}
2
3http {
4 include /etc/nginx/mime.types;
Lathish05b87012021-02-15 16:39:55 +00005 resolver 127.0.0.11;
RehanRazaf9523c12021-01-08 17:54:16 +01006 server {
Lathish85132f52021-02-09 10:41:21 +00007 listen 8080;
RehanRazaf9523c12021-01-08 17:54:16 +01008 server_name localhost;
9 root /usr/share/nginx/html;
10 index index.html;
elinuxhenrike8ca7952021-02-08 09:15:40 +010011 location /a1-policy/ {
Lathish05b87012021-02-15 16:39:55 +000012 set $upstream nonrtric-gateway;
13 proxy_pass http://$upstream:9090;
elinuxhenrike8ca7952021-02-08 09:15:40 +010014 }
Lathish64b35792021-02-11 11:06:53 +000015 location /ei-producer/{
Lathish05b87012021-02-15 16:39:55 +000016 set $upstream nonrtric-gateway;
17 proxy_pass http://$upstream:9090;
RehanRazaf9523c12021-01-08 17:54:16 +010018 }
Lathish74432642021-01-26 14:23:10 +000019 location / {
Lathish64b35792021-02-11 11:06:53 +000020 try_files $uri $uri/ /index.html;
Lathish74432642021-01-26 14:23:10 +000021 }
RehanRazaf9523c12021-01-08 17:54:16 +010022 }
23}