Nginx User Permissions sometimes receive a 403 error when Nginx reads the local directory. First, let's take a look at Nginx user management. When Nginx is started with a Linux service script, it is started through start-stop-domain and runs the daemon process with root permission. Then, the daemon process reads the user configuration option in the/etc/nginx. conf file. By default, user = nginx is used to start worker process. The error 403 is because the nginx user does not have the permission to access the user directory for my current development,/home/dean/work/resources. The solution is to replace user = nginx with root and restart nginx. You have also tried other methods, such as setting 777 permissions for the/home/dean/work/resources Directory, or adding nginx users to the root group. So when developing, use user = root configuration. In the product environment, the resouces directory can be placed in the nginx user directory, so the problem is not serious.