更改nginx网站根目录后,会出现403 Forbidden,stat() failed (13: permission denied),nginx no input file specified
解决办法:
Ensure you have +x on all of the directories in the path leading to the site’s root.
For example, if the site root is /home/username/siteroot:
1 | chmod +x /home/ |