Website shows 502 bad gateway

hello the website is showing 502 bad gateway , it is hosted on my own server . the app is serving on port 80 . when I open server and run (curl localhost), I got the login page , but the website is not serving it . any ideas ?

Opera Instantané_2022-05-19_093031_business.allamaa.deom.com.sa