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