heroku-nginx-node-example
An example of using Nginx as Reverse Proxy for Node server on Heroku Check out http://nginx-node-example.herokuapp.com/
You will see the X-Powered-By(Express) header at the response for the request of http://nginx-node-example.herokuapp.com/. Other paths(Static contents) are just from Nginx.
By Heroku Toolbet
Make sure you have Heroku Toolbelt installed and locate Nginx config(nginx.conf.erb) in config folder and Procfile at the project root path.
$ cd "to your Project Folder"
$ heroku create [APP NAME] --buildpack https://github.com/ddollar/heroku-buildpack-multi.git
$ git remote add heroku https://git.heroku.com/[APP NAME].git
$ echo "https://github.com/ryandotsmith/nginx-buildpack.git" >> .buildpacks
$ echo "https://github.com/heroku/heroku-buildpack-nodejs.git" >> .buildpacks
$ git add -A
$ git commit -m "init"
$ git push heroku master
$ heroku logs -t
Your app should now be running on http://[APP NAME].herokuapp.com/.
By Travis
Make sure you have .travis.yml with .buildpacks and locate Nginx config(nginx.conf.erb) in config folder and Procfile at the project root path.
By Heroku Deploy Button
Make sure you have app.json and locate Nginx config(nginx.conf.erb) in config folder and Procfile at the project root path.