Comment on Having trouble setting up Nginx

<- View Parent
frongt@lemmy.zip ⁨1⁩ ⁨day⁩ ago

The upstream refused the connection. You have it there as 127.0.0.1, but for inter-container communication usually you’d use the name. 127.0.0.1 would refer to the same container.

Docker (and other container platform) networking is a bit tricky and I’ll admit I don’t fully understand how it works, because it doesn’t work like regular networking. But a simple scenario like yours shouldn’t be difficult.

source
Sort:hotnewtop