Welcome! Log In Create A New Profile

Advanced

RE: Static files

Reinis Rozitis
May 11, 2020 01:04PM
> 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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Static Files

hagaizzz September 27, 2011 07:38AM

Re: Static Files

Simon Liu September 27, 2011 11:50PM

RE: Static files

Reinis Rozitis May 11, 2020 01:04PM

Re: Static files

Francis Daly May 12, 2020 10:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready