title: Traefik v2 [how to route to specific port]
body: <p>I'm trying to start the change of backends to be compatible with traefik v2.0.</p>
  <p>The old configuration was:</p>
  <pre><code>  labels:
      - traefik.port=8500
      - traefik.docker.network=proxy
      - traefik.frontend.rule=Host:consul.{DOMAIN}
  </code></pre>
  <p>I assumed, the network is not necessary anymore, it would change the new traefik for:</p>
  <pre><code>    - traefik.http.routers.consul-server-bootstrap.rule=Host('consul.scoob.thrust.com.br')
  </code></pre>
  <p>But how I set, that this should forward to my backend at port 8500? and not 80 where the entrypoint was reached at Traefik?</p>
  <p>My goal would try to accomplish something like this:
  <a href="https://docs.traefik.io/user-guide/cluster-docker-consul/#migrate-configuration-to-consul" rel="nofollow noreferrer">https://docs.traefik.io/user-guide/cluster-docker-consul/#migrate-configuration-to-consul</a></p>
  <p>Is it still possible?
  I saw, there was no --consul or storeconfig command in v2.0</p>