title: NGINX Reverse Proxy for 2 jenkins servers. How?
body: <p>I would like to run 2 jenkins server behind nginx reverse proxy, but I can not find the proper to configure it.</p>
  
  <p>The config below is working fine </p>
  
  <pre><code>location /jenkins {
            proxy_pass https://contoso.com/jenkins;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
  </code></pre>
  
  <p>If i try to change location to <code>/jenkins_test</code>, than it does not work anymore.</p>
  
  <p>What do I wrong?</p>