Bad gateway after

OS Name/Version:
Debian 12

Product Name/Version: (2.5.0)

Hi all, i have a problem with Setting up secure HTTP (HTTPS) with AMP

Im used getamp postSetupHTTPS command, and after that dont have acces to my panel anymore, error Bad Gateway now, is anyone know how to fix that?

you need to port forward ports 80 and 443 and also have a domain setup to it via A Records

I have an A record,

123

Ports are opened