RehanRaza | 38c1f88 | 2021-01-19 13:39:59 +0100 | [diff] [blame] | 1 | events{} |
2 | |||||
3 | http { | ||||
4 | include /etc/nginx/mime.types; | ||||
Lathish | efd402e | 2021-02-15 16:41:52 +0000 | [diff] [blame] | 5 | resolver 127.0.0.11; |
RehanRaza | 38c1f88 | 2021-01-19 13:39:59 +0100 | [diff] [blame] | 6 | server { |
7 | listen 8080; | ||||
8 | server_name localhost; | ||||
9 | root /usr/share/nginx/html; | ||||
10 | index index.html; | ||||
Lathish | 2731166 | 2021-02-09 15:06:52 +0000 | [diff] [blame] | 11 | location /a1-policy/ { |
Lathish | efd402e | 2021-02-15 16:41:52 +0000 | [diff] [blame] | 12 | set $upstream nonrtric-gateway; |
13 | proxy_pass http://$upstream:9090; | ||||
Lathish | 2731166 | 2021-02-09 15:06:52 +0000 | [diff] [blame] | 14 | } |
ecaiyanlinux | 192aa4e | 2021-06-06 00:13:42 +0800 | [diff] [blame^] | 15 | location /data-producer/{ |
Lathish | efd402e | 2021-02-15 16:41:52 +0000 | [diff] [blame] | 16 | set $upstream nonrtric-gateway; |
17 | proxy_pass http://$upstream:9090; | ||||
RehanRaza | 38c1f88 | 2021-01-19 13:39:59 +0100 | [diff] [blame] | 18 | } |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 19 | location / { |
20 | try_files $uri $uri/ /index.html; | ||||
21 | } | ||||
RehanRaza | 38c1f88 | 2021-01-19 13:39:59 +0100 | [diff] [blame] | 22 | } |
23 | } |