Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 697 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 697 Bytes

simple-https-proxy npm version

Easy way to use HTTPS for local HTTP servers for testing.

Adaptation of https-proxy

Install globally

npm i -g simple-https-proxy@latest

Generate certs

simple-https-proxy --makeCerts=true

Run proxy

simple-https-proxy [--target=http://localhost:5555] [--host=localhost] [--port=3001] [--rewriteBodyUrls=false]

e.g.

simple-https-proxy --target=http://localhost:5555 --host=localhost --port=3001 --rewriteBodyUrls=false

Go to https://localhost:3001