I am fairly new to Linux. I have a couple of websites that I want to host on my CentOS 7 VPS with Nginx.
Nginx ought to start on start up, but it is failing due to some permissions issue, I know what file has the issue, but I don't know what the permissions should be in order to make Nginx happy.
I've captured what is happening in a screencast.
What am I missing? As you can see from the screencast, nginx:nginx
is the set user and group for all the files within the site's directory.
I assume I do not need a www-data
user and group, because Nginx has its own user and group (nginx:nginx
)?