blob: 659bb6199819705abef633ef95a0d0741049fd55 [file] [log] [blame]
Matteo Scandolo3b3b3b42016-12-15 17:31:53 -08001server {
2 listen 80;
3 server_name localhost;
4
5 #charset koi8-r;
6 #access_log /var/log/nginx/log/host.access.log main;
7
8 location / {
9 root /var/www/dist;
10 index index.html index.htm;
11 }
12
13 location /api {
14 proxy_pass http://xos-rest-gw:3000;
15 }
16
17 location /socket.io {
18 proxy_pass http://xos-rest-gw:3000;
19 }
20}