Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.
/ heroku-proxy Public archive
forked from tepio/heroku-proxy

Super simple Node app that redirects all requests for an old Heroku app to a new URL

Notifications You must be signed in to change notification settings

monorkin/heroku-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This has come in handy more times than it should have.

Configuration

To redirect all requests to example.com:

heroku config:add NEW_BASE_URL=http://example.com

Deployment

Deploy to Heroku

If the old app that you're redirecting from isn't a Node app you'll need to change the buildpack:

heroku buildpacks:set heroku/nodejs

You can then replace the app by pushing with -f:

git push heroku master -f

NOTE: If the above doesn't work you may need to delete and re-create your Heroku app before pushing an entirely new Git repository into it.

About

Super simple Node app that redirects all requests for an old Heroku app to a new URL

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%