701d8fafe8b8611bcf3ec8639745ef88766a553c
[portal/nonrtric-controlpanel.git] / webapp-frontend / nginx.conf
1 events{}
2
3 http {
4     include /etc/nginx/mime.types;
5
6     upstream backend {
7         server  nonrtricgateway:9090;
8     }
9
10     server {
11         listen 7070;
12         server_name localhost;
13         root /usr/share/nginx/html;
14         index index.html;
15         location /a1-policy/v2/ {
16             proxy_pass  http://backend;
17         }
18         location / {
19            try_files $uri $uri/ /index.html;
20         }
21     }
22 }