title: nginx simple proxy_pass to localhost not working
body: <p>I'm trying to run a minimalist reverse-proxy, and came up with the following :</p>
  
  <pre><code>events {
      worker_connections 4096;
  }   
  
  http {
      server {
          listen 80;
          location / {
              proxy_pass http://127.0.0.1:3000/;
          }   
      }   
  }   
  </code></pre>
  
  <p>`</p>
  
  <p>However, when I access this server, I get the standard "welcome to nginx page", instead of the response from the server running on port 3000.</p>
  
  <p>If I ssh to the machine and run <code>curl http://127.0.0.1:3000/</code>, I get the desired result (and eventually I ran that server on port <code>80</code> and it worked fine, so I know it has to do with the reverse proxy config).</p>