Proxy all requests to a single url (supplied as a config). Written to run on Heroku and act as a simple way to wrap an IP camera stream in HTTPS.
Based on the Heroku sample Go app.
Written by Thomas Parslow
Create your online Escape Rooms using Telescape Live
Deploy to herokku now by hitting the button below!
Make sure you have Go version 1.12 or newer and the Heroku Toolbelt installed.
$ git clone https://github.com/almost/single-url-proxy.git
$ cd single-url-proxy
$ go build -o bin/single-url-proxy -v .
$ export URL=http://google.com
$ heroku local
Your app should now be running on localhost:5000.
$ heroku create
$ heroku config:set URL=http://google.com
$ git push heroku main
$ heroku open
or use the deploy button above.