Here’s a quick fix to hide index.php from the URL of the site hosted on an NGINX web server.
For shared webroot, you need to setup each site that needs to hide it index.php on the main NGINX vhost or create config file for each and store it in /etc/nginx/site-available/site_conf.
Don’t forget to add symlink to site-enable:
$ > ln -s /etc/nginx/site-available/site_conf /etc/nginx/site-enabled/site_conf
If you happen to get an error accessing your RDS or got something like this :
And you’re not able to access your RDS server, you can fix it in two ways :
1. Reboot RDS instance
2. Log on to any EC2 instances that have and then log as Root.
mysqladmin -h <RDS ENDPOINT URL> -P <PORT> -u <USER> -p flush-hosts
*Use RDS main root account to log on your RDS instance.
* Command will prompt you password
echo “Asia/Singapore” | tee /etc/timezone
dpkg-reconfigure –frontend noninteractive tzdata