Configuring nginx to proxy to port 3000 - mfedorov/nebulent-rac-ui GitHub Wiki

Create config file (Ubuntu distribution) in /etc/nginx/conf.d/your_config.file with the following content:

upstream nodeapp {
	server localhost:3000;
}

server {
    listen 80;
    port_in_redirect off;
    autoindex on;

    location / {
        proxy_pass http://127.0.0.1:3000;
    }
}