An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# simple-https-proxy [![npm version](https://badge.fury.io/js/simple-https-proxy.svg)](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)