10f458247aba09c5e35be5289fbb0d19c22aa11a
[nonrtric.git] / docker-compose / control-panel / config / nginx.conf
1 events{}
2
3 http {
4     include /etc/nginx/mime.types;
5     
6     server {
7         listen 8080;
8         server_name localhost;
9         root /usr/share/nginx/html;
10         index index.html;
11         location /a1-policy/ {
12             set $upstream http://nonrtric-gateway:9090;
13             proxy_pass  $upstream;
14         }
15         location /ei-producer/{
16             set $upstream http://nonrtric-gateway:9090;
17             proxy_pass  $upstream;
18         }
19         location / {
20             try_files $uri $uri/ /index.html;
21         }
22     }
23 }