Install Corteza using Traefik - Auth error

I normally use Traefik as reverse proxy. I tried to install Corteza using Traefik but I am facing a problem. When I try to connect via domain, Corteza seems to try to redirect the page and the page does not load. This is what I get on the URL search field:

https

Below is my docker-compose file:

version: "3.7"
services:

  corteza_crm:
    image: cortezaproject/corteza:2023.9
    restart: always
 
    volumes:
      - corteza_data:/var/lib/corteza_crm

   
    networks:
      - app_network 
    
    environment:

      - DOMAIN=https://corteza.domain.com
      
      
    # Server settings

      # Serve Corteza webapps alongside API
      - HTTP_WEBAPP_ENABLED=true

      # Send action log to container logs as well
      - ACTIONLOG_DEBUG=false

      # Uncomment for extra debug info if something goes wrong
      # LOG_LEVEL=debug

      # Use nicer and colorful log instead of JSON
      # LOG_DEBUG=true



      ## Postgres Data
      - POSTGRES_HOST=postgres
      - POSTGRES_USERNAME=postgres
      - POSTGRES_PASSWORD=postgres_password
      - POSTGRES_DATABASE=corteza_crm
      - DB_DSN=postgres://postgres:postgres_password@postgres:5432/corteza_crm?sslmode=disable
    

      ## Dados do SMTP
      
      - SMTP_HOST=smtppro.zoho.com:587
      - SMTP_USER=myemail@domain.com
      - SMTP_PASS=my_password
      - SMTP_FROM=myemail@domain.com

    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints:
          - node.role == manager
      resources:
        limits:
          cpus: "1"
          memory: 1024M
      labels:
         - traefik.enable=true
         - traefik.http.routers.corteza_crm.rule=Host(`corteza.domain.com`)
         - traefik.http.routers.corteza_crm.entrypoints=websecure
         - traefik.http.routers.corteza_crm.tls.certresolver=letsencryptresolver
         - traefik.http.routers.corteza_crm.priority=1
         - traefik.http.routers.corteza_crm.service=corteza_crm
         - traefik.http.services.corteza_crm.loadbalancer.server.port=80
         - traefik.http.services.corteza_crm.loadbalancer.passhostheader=true

volumes:
  corteza_data:
    external: true
    name: corteza_data
  

networks:
  app_network: 
    external: true
    name: app_network