One minute
Setting Up Correct Permissions on wp-config.php File in WordPress
Hardening WordPress security by configuring correct, restrictive filesystem permissions on the wp-config.php file.
This file is where WordPress stores the main site configuration so it’s very important that nobody can read or update it.
By default it comes with 644 (-rw-r--r--) but this allows other server users to read from it.
The recommendation is to set it on 600 (-rw-------).
After updating that ensure that your site is still working, it could happen that the file owner is not properly configured and the site starts failing.