title: How to setup basic auth globally in traefik v2?
body: <p>I'm using traefik 2.1 and would like to setup basic auth for all containers, in 1.x it was easy to do:</p>
  
  <pre><code>    [entryPoints.http.auth.basic]
      usersFile = "/etc/traefik/.htpasswd"
  </code></pre>
  
  <p>But how to setup it in 2.x? I'd like to avoid inserting code in all my docker-compose.yml files - got a lot of them.</p>