update
Browse files- nginx.conf +5 -12
nginx.conf
CHANGED
|
@@ -51,24 +51,17 @@ http {
|
|
| 51 |
add_header Cache-Control "public, max-age=2592000, immutable";
|
| 52 |
}
|
| 53 |
|
| 54 |
-
# Specific routes for
|
| 55 |
-
location
|
| 56 |
try_files /dataviz/index.html =404;
|
| 57 |
}
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
location = /trackio {
|
| 64 |
try_files /trackio/index.html =404;
|
| 65 |
}
|
| 66 |
|
| 67 |
-
|
| 68 |
-
try_files $uri $uri/index.html =404;
|
| 69 |
-
}
|
| 70 |
-
|
| 71 |
-
# Default fallback
|
| 72 |
location / {
|
| 73 |
try_files $uri $uri/ $uri/index.html /index.html;
|
| 74 |
}
|
|
|
|
| 51 |
add_header Cache-Control "public, max-age=2592000, immutable";
|
| 52 |
}
|
| 53 |
|
| 54 |
+
# Specific routes for dataviz page
|
| 55 |
+
location /dataviz {
|
| 56 |
try_files /dataviz/index.html =404;
|
| 57 |
}
|
| 58 |
|
| 59 |
+
# Specific routes for trackio page
|
| 60 |
+
location /trackio {
|
|
|
|
|
|
|
|
|
|
| 61 |
try_files /trackio/index.html =404;
|
| 62 |
}
|
| 63 |
|
| 64 |
+
# Default fallback for all other routes
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
location / {
|
| 66 |
try_files $uri $uri/ $uri/index.html /index.html;
|
| 67 |
}
|