title: nginx proxy_pass missing path
body: <p>So I am running some <code>nginx</code> and <code>jenkins</code> in docker containers (same machine).</p>
  
  <p>I have setup a proxy_pass in nginx as follows </p>
  
  <pre><code>server {
      listen       80;
  
      location / {
          root   /usr/share/nginx/html;
          index  index.html index.htm;
      }
  
      location /jenkins/ {
          proxy_pass         http://infrastructure_jenkins_1:8080/;
      }
  }
  </code></pre>
  
  <p>The redirect goes to <code>http://54.194.42.13/static/b703e301/css/layout-common.css</code> which results in a <code>404</code>.</p>
  
  <p>How do i configure the proxy to include <code>/jenkins</code> in the path i.e. <code>http://54.194.42.13/jenkins/static/b703e301/css/layout-common.css</code> ?</p>