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 | } |
Lathish | 64b3579 | 2021-02-11 11:06:53 +0000 | [diff] [blame] | 15 | location /ei-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 | } |
Lathish | 7443264 | 2021-01-26 14:23:10 +0000 | [diff] [blame] | 19 | location / { |
Lathish | 64b3579 | 2021-02-11 11:06:53 +0000 | [diff] [blame] | 20 | try_files $uri $uri/ /index.html; |
Lathish | 7443264 | 2021-01-26 14:23:10 +0000 | [diff] [blame] | 21 | } |
RehanRaza | f9523c1 | 2021-01-08 17:54:16 +0100 | [diff] [blame] | 22 | } |
23 | } |