Website not loading
I have an Ubuntu 18.04 LTS node, with LEMP.
I created a dev user but they couldn't upload files to the server. I did the following:
adduser dev
adduser dev sudo
I then did the following as they couldn't upload files:
sudo chmod a+rwx /var/www/html
addgroup dev
chgrp -R dev /var/www/html
chmod -R 770 /var/www/html
adduser dev dev
now they can upload files but the site is not loading when access from a browser, I get the nginx 404
I am new to linode and ubuntu but I believe the issue is to do with the permission changes I made!
before this it was working fine!
how do I fix it!