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"