Erpnext accesing through external ip on web

i have installed the erpnenxt on ssh ubuntu from gcp vm instance,now i want to use erpnext for production which i should be accesble with external ip as url with port 80 or 443,pls let me know if anyone has a solution for this?


You may need to configure GCP firewall rule. might be helpful.

thank you for the response ,i think the solutions works after following the docs but i got the 504 gateway timeout error by accessing http:/external ip. i m missing somthing ?