title: Nginx configuration
body: <p>In the below code Im redirecting through nginx to <code>http://127.0.0.1:3000/app1/namelist/name=xyz</code>. When I hit <code>http://127.0.0.1:80/</code>, it throws an error "Cannot GET/". How can I resolve this problem? </p>
  
  <p>If I directly hit <code>127.0.0.1:3000/app1/namelist/name=xyz</code>, it should redirect via nginx. Is it possible to configure in nginx?</p>
  
  <pre><code>#user  nobody; worker_processes  1;
  
  #error_log  logs/error.log;
  #error_log  logs/error.log  notice;
  #error_log  logs/error.log  info;
  
  #pid        logs/nginx.pid;
  
  events {
      worker_connections  1024; 
  }
  
  http {
      include       mime.types;
      default_type  application/octet-stream;
  
      #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
      #                  '$status $body_bytes_sent "$http_referer" '
      #                  '"$http_user_agent" "$http_x_forwarded_for"';
  
      #access_log  logs/access.log  main;
  
      sendfile        on;
      #tcp_nopush     on;
  
      #keepalive_timeout  0;
      keepalive_timeout  65;
  
      #gzip  on;  
      upstream node_entry {
          server 127.0.0.1:3000; 
      }
  
      server {    
          listen       80;
          server_name  127.0.0.1;
  
          location / {
              #root   html;
              #index  index.html index.htm;
              #return 503;
              proxy_pass     http://node_entry/;
          }
      }
  }
  </code></pre>