1

There are 1 best solutions below

0
On

The default nginx user will not have access to the file system under your username. So you will have to give access to those files.

Here is something you can try:

Try adding user user_name staff; at the start of nginx.conf file as suggested here

Note: user_name in above would be your username that has access to the file directory.