I installed Wordpress using AWS Lightsail. However when I tried installing Really Simple SSL plugin, it said I need to make wp-config.php as writeable. I chmod to 660 for the wp-config, but then I received error "Sorry, you are not allowed to access this page." in the WP admin. I tried changing back to 640 but it's still the same.
Below is the code from support tool