One minute
Setting up correct permissions on wp-config.php file in Wordpress
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, could happen that the file owner is not properly configured and the site start failing.