worker_processes 1; events { worker_connections 1024; } http { server { listen 80; server_name localhost; location / { #This is the location of the nodejs app proxy_pass http://localhost:8000; } } }