This project using to provide CONNECT HTTP method proxy
By using node http proxy, inspired from this discussion
git clone https://github.com/imhazige/node-http-connect-proxy.git
go to the project folder
npm install
npm start
or node server.js
node test.js
Commit code to your heroku project, no configuration is required!
Set the system env variable PROXY_AUTH_KEY, and add the same value to the header 'porxy-authorization' when request the proxy header. by default, authentication is disabled.
The Http connect proxy in anyway is on a HTTP protocol, it should be used to resolve problem like proxy across a DMZ, it unable to go across some other *wall. When you encounter error like read ECONNRESET
, that the case.