Wie ich bereits erwähnt habe, läuft WordPress auf der Hauptdomain.
Wenn ich das richtig verstanden habe, läuft der andere NGINX zusammen mit WordPress im Container.
Ich habe diesem Tutorial gefolgt: How To Install WordPress With Docker Compose | DigitalOcean
Wenn ich den Befehl netstat -tulnp ausführe, erhalte ich Folgendes:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 419/systemd-resolve
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1192/docker-proxy
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 463/sshd: /usr/sbin
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1179/docker-proxy
tcp6 0 0 :::22 :::* LISTEN 463/sshd: /usr/sbin
udp 0 0 127.0.0.53:53 0.0.0.0:* 419/systemd-resolve