Did you install CSF firewall when prompted if you want to ? If not, then maybe iptables is blocking port 80 ? or can you access static html files fine and only get problems with php files ? Where did you upload your php files ? to /usr/local/nginx/html ? accessing via ipaddress or localhost / 127.0.0.1 ?