I use:
sudo chown MYUSERNAME:http -R /srv/http/
sudo find /srv/http/ -type d -exec chmod 755 {} +
sudo find /srv/http/ -type f -exec chmod 644 {} +
Replace MYUSERNAME with appropriate!
I use:
sudo chown MYUSERNAME:http -R /srv/http/
sudo find /srv/http/ -type d -exec chmod 755 {} +
sudo find /srv/http/ -type f -exec chmod 644 {} +
Replace MYUSERNAME with appropriate!