Configuring NGINX + Node.JS in both your production and staging environments
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
example.com
staging.example.com

README.md

Configuration

After copying example.com and staging.example.com files to /etc/nginx/sites-enabled you need to create the symbolic links

sudo ln -s /etc/nginx/sites-enabled/example.com /etc/nginx/sites-available/example.com

and

sudo ln -s /etc/nginx/sites-enabled/staging.example.com /etc/nginx/sites-available/staging.example.com

Fore more information follow this blogpost