I'm trying to deploy my AngularJS app generated with Yoeman on Nginx, this is my nginx configuration :
server {
server_name 0.0.0.0;
listen 8080;
root /home/gestAngular/app;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}
but when i start nginx, my app dosent find the dependencies.
my directory gestAngular look like this :
-gestAngular
---App
---bower_components
---node_modules
---test
---dist
its generated with yoeman angular generator .
Any idea how can i make nginx recognize the location of my dependencies (bower-components)?