521 even on flex

I see. For the docker-hostname to work they need to be in the same docker-network. I don’t know for sure if that is the case in your setup. So for now please go back to the internal or external IP, so that it works again.

But the “502 bad gateway” error actually points to: wordpress container is not responding on port 8000