blob: 5e7bc60af24e5f8d6f62505653ccd88311b513dc [file] [log] [blame]
Matteo Scandoloe19fa102017-03-09 15:38:59 -08001server {
2 listen 4000;
3 server_name localhost;
4
5 #charset koi8-r;
6 access_log /var/log/nginx/log/xos-spa-gui.access.log main;
7 error_log /var/log/nginx/log/xos-spa-gui.error.log debug;
8
9 location / {
10 root /var/www/dist;
11 index index.html index.htm;
12 }
13
14 # Redirect for FE config
15
16 location /spa/ {
17 rewrite ^/spa/(.*)$ /$1;
18 }
19}