502 bad gateway with clean rebuild and no plugins except discourse docker

Sorry, very tied up atm.

Could you try to restart the container and immediately after perform that command?