@@ -16,10 +16,10 @@ http {
listen 80;
server_name _;
+ root /opt/app/dist;
+
location / {
- try_files $uri $uri/ /index.html;
- root /opt/app/dist;
- index build/index.html;
+ try_files $uri /build/$uri /build/index.html =404;
}