title: NGINX location blocks not loading content
body: <p>I have a new NGINX installation that is running and, to an extent, working (I can see default nginx landing page on host.com/).
  In my config I have 3 location blocks. with the following patterns:</p>
  
  <pre><code>/
  /register
  /keycloak
  </code></pre>
  
  <p>As mentioned, the first one works. Loads landing page fine.
  the second two fail to load the content their proxy_pass identifies.</p>
  
  <pre><code>location /register {
    proxy_pass http://register;
  }
  
  location /keycloak {
     proxy_pass http://keycloak;
  } 
  </code></pre>
  
  <p>The curious thing is that when I update the default (/) block from:</p>
  
  <pre><code>location / {
    root   html;
    index  index.html index.htm;
  }  
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>location / {
    proxy_pass http://register;
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>location / {
    proxy_pass http://keycloak
  }
  </code></pre>
  
  <p>It serves correct content as I would like /register /keycloak to do.</p>
  
  <p>My nginx installation is running on a machine on its own and the register and keycloak services are running on another server in the same lan. I can ping the server from nginx server and can curl both services from nginx server.</p>