502 Bad Gateway error

I cant access to my website. It says

502 Bad Gateway

nginx/1.24.0

This can happen because of SSL issues, PHP script coding not set rightly, wrong PHP version, or the server being overloaded. In some cases, using a disposable/temporary email can also trigger security checks and cause the request to fail.