web server not running due to lack of necessary permissions in linux nginx code example
Example: web server not running due to lack of necessary permissions in linux nginx
sudo chown -R USER /var/www/html/
sudo find /var/www/html -type d -exec chmod u+rwx {} +
sudo find /var/www/html -type f -exec chmod u+rw {} +