RehanRaza | f9523c1 | 2021-01-08 17:54:16 +0100 | [diff] [blame] | 1 | events{} |
2 | |||||
3 | http { | ||||
4 | include /etc/nginx/mime.types; | ||||
Lathish | 05b8701 | 2021-02-15 16:39:55 +0000 | [diff] [blame] | 5 | resolver 127.0.0.11; |
RehanRaza | f9523c1 | 2021-01-08 17:54:16 +0100 | [diff] [blame] | 6 | server { |
Lathish | 85132f5 | 2021-02-09 10:41:21 +0000 | [diff] [blame] | 7 | listen 8080; |
RehanRaza | f9523c1 | 2021-01-08 17:54:16 +0100 | [diff] [blame] | 8 | server_name localhost; |
9 | root /usr/share/nginx/html; | ||||
10 | index index.html; | ||||
elinuxhenrik | e8ca795 | 2021-02-08 09:15:40 +0100 | [diff] [blame] | 11 | location /a1-policy/ { |
Lathish | 05b8701 | 2021-02-15 16:39:55 +0000 | [diff] [blame] | 12 | set $upstream nonrtric-gateway; |
13 | proxy_pass http://$upstream:9090; | ||||
elinuxhenrik | e8ca795 | 2021-02-08 09:15:40 +0100 | [diff] [blame] | 14 | } |
elinuxhenrik | b43fe9c | 2021-05-12 15:19:32 +0200 | [diff] [blame] | 15 | location /data-producer/{ |
Lathish | 05b8701 | 2021-02-15 16:39:55 +0000 | [diff] [blame] | 16 | set $upstream nonrtric-gateway; |
17 | proxy_pass http://$upstream:9090; | ||||
RehanRaza | f9523c1 | 2021-01-08 17:54:16 +0100 | [diff] [blame] | 18 | } |
elinuxhenrik | f8e2077 | 2021-06-22 11:01:56 +0200 | [diff] [blame^] | 19 | location /data-consumer/{ |
20 | set $upstream nonrtric-gateway; | ||||
21 | proxy_pass http://$upstream:9090; | ||||
22 | } | ||||
Lathish | 7443264 | 2021-01-26 14:23:10 +0000 | [diff] [blame] | 23 | location / { |
Lathish | 64b3579 | 2021-02-11 11:06:53 +0000 | [diff] [blame] | 24 | try_files $uri $uri/ /index.html; |
Lathish | 7443264 | 2021-01-26 14:23:10 +0000 | [diff] [blame] | 25 | } |
RehanRaza | f9523c1 | 2021-01-08 17:54:16 +0100 | [diff] [blame] | 26 | } |
elinuxhenrik | f8e2077 | 2021-06-22 11:01:56 +0200 | [diff] [blame^] | 27 | } |