I launch a fresh new Bitnami Magento server and the HTTPS redirection to
/customer/account seems to be done by the Magento app itself. You can verify this by following the next steps
- Stop Apache and Varnish services
sudo /opt/bitnami/ctlscript.sh stop apache
sudo /opt/bitnami/ctlscript.sh stop varnish
- Move to the Magento htdocs folder and run the testing PHP server. Request will be logged into that terminal window.
sudo php -S 0.0.0.0:80
- Connect to your server using another terminal and run the command below
curl -IL 'http://127.0.0.1/customer/account'
- Now, stop the
php -S command by typing
Ctrl+c into its terminal, and start again the Apache and varnish services
sudo /opt/bitnami/ctlscript.sh start apache
sudo /opt/bitnami/ctlscript.sh start varnish
You can ask in the official Magento forums for help to workaround this. Please find below the link