Taiga docker compose behind trafik reverse proxy into nginx taiga-gateway bad gateway error

Hi, I am trying to run Taiga docker compose behind trafik reverse proxy into nginx taiga-gateway but get a 502 bad gateway error. All the containers are running. I am using postgresql from a different container and taiga has populated the db. I uses tiaga-manage.sh to createsuperuser without problems.

Traefik is setup via these labels on the taiga-gateway container in docker compose and the nginx config is the default one from this guide: Install Taiga in Production

  taiga-gateway:
    image: nginx:1.19-alpine
    restart: ${RESTART}
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - $DOCKERDIR/${COMPOSE_PROJECT_NAME}/data/taiga-gateway/taiga.conf:/etc/nginx/conf.d/default.conf
      - $DOCKERDIR/${COMPOSE_PROJECT_NAME}/data/taiga-back/static:/taiga/static
      - $DOCKERDIR/${COMPOSE_PROJECT_NAME}/data/taiga-back/media:/taiga/media
    networks:
      - taiga
      - proxy
    depends_on:
      - taiga-front
      - taiga-back
      - taiga-events
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.taiga.entrypoints=https"
      - "traefik.http.routers.taiga.rule=Host(`taiga.<real.domain.name>`)"
      - "traefik.http.middlewares.taiga-https-redirect.redirectscheme.scheme=https"
      #
      - "traefik.http.routers.taiga.middlewares=taiga-https-redirect"
      #
      - "traefik.http.routers.taiga.tls=true"
      - "traefik.http.routers.taiga.middlewares=chain-authelia@file"
      - "traefik.http.services.taiga.loadbalancer.server.port=9000"
      - "traefik.docker.network=proxy"

Ok, changing the load balancer port in Traefik to 80 instead of 9000 gives me a blank page, but viewing the source shows it is getting somewhere, and I can get to mytaiga.example/admin and login as the super user I created. PRogress. I will start a new topic and call this one resolved.