title: Nexus 3 Docker repo - bad gateway
body: <p>I created a Docker Repo on Nexus 3. The URL looks like this:</p>
  
  <pre><code>https://myserver.net/nexus3/repository/docker-images/
  </code></pre>
  
  <p>I enabled <code>Create an HTTP connector at specified port</code> for port <em>8123</em>.
  I configured my Docker daemon to allow "insecure registry" <code>myserver.net:8123</code>.</p>
  
  <p>I am behind a proxy and entered this proxy in Docker settings. But this proxy is NOT used for myserver.net, so I added myserver.net to "Bypass for these hosts and domains".</p>
  
  <p>When I now do <code>docker login myserver.net:8123</code> I get a <code>502 Bad Gateway</code> error. </p>
  
  <p>Any ideas?</p>
  
  <p>Edit:</p>
  
  <p>A Screenshot of my Nexus settings:
  <a href="https://i.stack.imgur.com/AqNSn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AqNSn.png" alt="enter image description here"></a></p>