include /etc/nginx/mime.types;
upstream backend {
- # to be replaced with hostname:port of nonrtric-gateway once it gets ready
- server nonrtricgateway:8080;
+ server nonrtricgateway:9090;
}
server {
server_name localhost;
root /usr/share/nginx/html;
index index.html;
- location /api/ {
+ location /a1-policy/v2/ {
proxy_pass http://backend;
}
+ location / {
+ try_files $uri $uri/ /index.html;
+ }
}
}
\ No newline at end of file