Using Nginx as reverse proxy for app running on different port

Nginx configuration:

server {
      listen      80;
      server_name your.server.name;
      location / {
          proxy_pass  http://<host>:<port>/;
      }
}