centos – Nginx Permission denied

I am using Nginx to serve static files from server. Static file is located in root folder, /server/cdn. I give all permission to this folder with sudo chmod 777 -R server command. Also I changed the nginx configuration for server to serve static content from the given folder. I confirm that nginx is pointed to correct destination. But the problem is I get 403 permission deniedin the browser.

How can I fix this. Is it possible to give permission to other user to access content in root folder ?

Read more here: Source link