https://github.com/pureartisan/simple-https-proxy
Easy way to use HTTPS for local HTTP servers for testing.
https://github.com/pureartisan/simple-https-proxy
https https-proxy local localhost npm proxy testing
Last synced: 2 months ago
JSON representation
Easy way to use HTTPS for local HTTP servers for testing.
- Host: GitHub
- URL: https://github.com/pureartisan/simple-https-proxy
- Owner: pureartisan
- Created: 2019-04-11T12:00:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T08:39:06.000Z (about 4 years ago)
- Last Synced: 2025-09-27T10:25:16.987Z (6 months ago)
- Topics: https, https-proxy, local, localhost, npm, proxy, testing
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-https-proxy [](https://badge.fury.io/js/simple-https-proxy)
Easy way to use HTTPS for local HTTP servers for testing.
Adaptation of [https-proxy](https://github.com/yavorskiy/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](https://localhost:3001)