eShreder / http-proxy

node https? proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https?-proxy

Install

git clone git@github.com:eShreder/http-proxy.git
cd http-proxy
pnpm build

Configure

  • Change in ./config.json port and host
  • If you need TLS (HTTPS), you can use Let’s Encrypt and set path to keys in tls
  • Else remove tls

Run

  • start: node dist
  • check: curl https://2ip.ru --proxy https://<host>:<port> -v
  • start in docker: docker run -d --name http-proxy -p <port>:<port> -v `pwd`:/opt/proxy -v /etc/letsencrypt:/etc/letsencrypt node node /opt/proxy/dist

About

node https? proxy


Languages

Language:TypeScript 100.0%