I am trying to secure my LocalSettings.php. First, I found the nginx user (www-data
) using top
, did chown -R www-data:www-data wikidir
, and then tried to do chmod 600
on wikidir/LocalSettings.php
. The breaks the site, however. The site only works if LocalSettings.php is world readable, which is something I don't want.
Any help is appreciated.