title: How node app route and nginx location matches?
body: <p>I am going to run node app on nginx.</p>
  
  <p>Here is nginx configuration.</p>
  
  <pre><code>location /first {
  proxy_pass http://localhost:3000;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection 'upgrade';
  proxy_set_header Host $host;
  proxy_cache_bypass $http_upgrade;
  }
  </code></pre>
  
  <p>And here is node app router.</p>
  
  <pre><code>app.use('/', indexRouter);
  app.use('/api', apiRouter);
  </code></pre>
  
  <p>But when I access server via x.x.x.x/first
  I get 404 errors.
  What is the reason.
  Please let me know if you know.</p>