Skip to content

pureartisan/simple-https-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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