blob: 3416fd4ebae7d6db4afceacb3e4f098c05d12249 [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 }
elinuxhenrikb43fe9c2021-05-12 15:19:32 +020015 location /data-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 }
elinuxhenrikf8e20772021-06-22 11:01:56 +020019 location /data-consumer/{
20 set $upstream nonrtric-gateway;
21 proxy_pass http://$upstream:9090;
22 }
Lathish74432642021-01-26 14:23:10 +000023 location / {
Lathish64b35792021-02-11 11:06:53 +000024 try_files $uri $uri/ /index.html;
Lathish74432642021-01-26 14:23:10 +000025 }
RehanRazaf9523c12021-01-08 17:54:16 +010026 }
elinuxhenrikf8e20772021-06-22 11:01:56 +020027}