> server { > location / { > root > /home/marco/webMatters/vueMatters/ggc/src/components/auth/weights; > } > } Since it's under /home most likely nginx has no access to the directory. Check the user under which nginx is running (probably nobody) and try to check if you can read the files (su nobody -c ls /home/marco/webMatters/vueMatters/ggc/src/components/auth/weights) rr