Skip to content

magland/connector-http-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connector-http-proxy

This is HTTP proxy can serve as a signaling server to connect remote clients to services using WebRTC.

Hosting a proxy server

This server is designed to run in the cloud on Heroku.

Step 1: Create a new Heroku project

Sign up for a Heroku account and Create a new app. Name it something like connector-http-proxy-1.

Step 2: Set up a proxy secret

To permit only authorized resources to connect to your proxy server, you must set up a proxy secret.

In the Heroku web console, open the Settings for your project and add a Config Variable called PROXY_SECRET. For the value, use a random string of characters. This will be the secret you share with trusted users to allow them to connect their resources to your proxy server.

Step 3: Clone and set up this repo

Follow the instructions in the Heroku web console to install the Heroku CLI and log in to Heroku from your computer. Then clone and set up this repo.

heroku login

git clone <this-repo>
cd connector-http-proxy

# replace with the name of your project
heroku git:remote -a connector-http-proxy-1

To deploy the server:

git push heroku main

Make a note of the URL where the server is being hosted. For example it might be https://connector-http-proxy-1.herokuapp.com. This URL along with the proxy secret will allow clients to connect to services.

About

Proxy server for MCMC Monitor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published