Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Aiko/http-over-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP to HTTPS Proxy

Installation

"Run it on Now": You're good to go!

"Run it myself": Set up an HTTPS certificate with letsencrypt and add the HTTPS lines.

Usage

Install dependencies (Express, CORS, Request):

npm i

Then just run to start:

npm start

You can then get your content using:

https://<server-ip>:<port>/?url=<encoded uri>

The default port is 5050, i.e. https://localhost:5050/?url=http://cnn.com

Deployment

Using Now:

now

We find it stays up for our needs.

How it Works

We pipe the HTTP content to the response, which is done via https:

request(HTTP_URL).pipe(HTTPS_RESPONSE)

About

extra lightweight HTTP to HTTPS proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published