Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 996 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 996 Bytes

This project using to provide CONNECT HTTP method proxy

By using node http proxy, inspired from this discussion

Run the server

git clone https://github.com/imhazige/node-http-connect-proxy.git
go to the project folder npm install
npm start or node server.js

Test

node test.js

Deploy to heroku

Commit code to your heroku project, no configuration is required!

Simple autentication

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.

Warning!

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.