Information
The server's and potentially its vhost's private keys should be protected from unauthorized access by limiting access based on the principle of least privilege.
A server's private key file should be restricted to 400 permissions. This ensures only the owner of the private key file can access it. This is the minimum necessary permissions for the server to operate. If the private key file is not protected, an unauthorized user with access to the server may be able to find the private key file and use it to decrypt traffic sent to your server.
Solution
Run the following command to remove excessive permissions on key files in the /etc/nginx/ directory.
Note: The directory /etc/nginx/ should be replaced with the location of your key file.
find /etc/nginx/ -name '*.key' -exec chmod u-wx,go-rwx {} +