502 BAD Gateway with my Dedicated Server

check your nginx error log. This is usually when NGINX can’t connect to your application backend (php/go/etc). Also → Community Tip - Fixing Error 502 / 504: Bad Gateway