I want to be able to edit my sites files without using sudo, so I symlinked /home/USER/project to /var/www/project with ln -sTf /home/USER/PROJECT /var/www/PROJECT
However, Nginx displays 403 forbidden when visiting the site. /var/log/nginx/error.log is empty.
I tried giving execute permissions to /home, /home/USER, and even just trying 777 for the project folder, but it still gives the same error.
Is there something that I'm missing? Nginx seems setup to follow symlinks by default, so I'm not sure what's wrong.