2 services in one docker: one hides the other

Hi, I'm trying to configure traefik for gitlab. I'd like to make traefik route trafic for mygitlab.com with one domain and for registry.mygitlam.com fot the "registry" service. I thought this configuration would do:

labels:
       traefik.enable: true
       traefik.http.routers.hg-web.rule: Host(`hg.mix.dev`)
       traefik.http.routers.hg-web.entrypoints: web
       traefik.http.routers.hg-web.middlewares: redirect-to-https
       traefik.http.middlewares.redirect-to-https.redirectscheme.scheme: https

       traefik.http.routers.hg-secured.rule: Host(`hg.mix.dev`)
       traefik.http.routers.hg-secured.entrypoints: web-secured
       traefik.http.routers.hg-secured.tls.certresolver: leresolver
       traefik.http.routers.hg-secured.tls: true
       traefik.http.services.hg-secured.loadbalancer.server.port: 80

       traefik.http.routers.registry-ssl.rule: Host(`registry.mix.dev`)
       traefik.http.routers.registry-ssl.entrypoints: web-secured
       traefik.http.routers.registry-ssl.service: registry
       traefik.http.routers.registry-ssl.tls.certresolver: leresolver
       traefik.http.routers.registry-ssl.tls: true
       traefik.http.services.registry.loadbalancer.server.port: 5000

but in fact the last part (registry) hides the first one that is working correctly when alone.
In my view 'registry.mix.dev' is a new router with it's own configuration that points to a different seervice and should not interfere with the other one.

What is wrong whith this idea? Dashboard clearly shows the last definition prevails and hides hg.mix.dev.

Thanks in advance

SOLVED.
Reading the log file I found the key to the solution: service was defined only on registry.mix.dev. Adding the service definition for the other domain fixed the problem:

    labels:
       traefik.enable: true
       traefik.http.routers.hg.rule: Host(`hg.thux.dev`)
       traefik.http.routers.hg.entrypoints: web-secured
       traefik.http.routers.hg.middlewares: redirect-to-https
       traefik.http.routers.hg.tls.certresolver: leresolver
       traefik.http.routers.hg.tls: true
       traefik.http.routers.hg.service: hg

       traefik.http.routers.registry.rule: Host(`registry.thux.dev`)
       traefik.http.routers.registry.entrypoints: web-secured
       traefik.http.routers.registry.middlewares: redirect-to-https
       traefik.http.routers.registry.service: registry
       traefik.http.routers.registry.tls.certresolver: leresolver
       traefik.http.routers.registry.tls: true

       traefik.http.middlewares.redirect-to-https.redirectscheme.scheme: https
       traefik.http.services.hg.loadbalancer.server.port: 80
       traefik.http.services.registry.loadbalancer.server.port: 5000

I the logs i found: "Could not define the service name for the router: too many services"