Hi @xee_ym
This other user provided a different solution
https://community.bitnami.com/t/error-502-bad-gateway/71614/6?u=jota
Can you confirm you have those requests to code.php in the access.log file?
sudo cat /opt/bitnami/apache2/logs/access_log | grep code.php
If that's the case, can you check if the file exists
sudo ls -la /opt/bitnami/apps/wordpress/htdocs/code.php
and create it in the WordPress' directory if it doesn't exist?
sudo mv /opt/bitnami/apps/wordpress/htdocs/code.php /opt/bitnami/apps/wordpress/htdocs/code.php.back
sudo touch /opt/bitnami/apps/wordpress/htdocs/code.php
sudo chown bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/code.php
sudo chmod g+w /opt/bitnami/apps/wordpress/htdocs/code.php
sudo /opt/bitnami/ctlscript.sh restart
Thanks