Information
The owner and group of the /etc/nginx directory and its files should be root.
Rationale:
Setting ownership to only those users in the root group and the root user will reduce the likelihood of unauthorized modifications to the nginx configuration files.
Solution
Run the following command to ensure ownership and group ownership is set to root:
chown -R root:root /etc/nginx
Default Value:
The default ownership and group for nginx is root.