Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

epignot/localhost-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Localhost on https

Motivation

Simple way to re-expose a local server over https

Setup

  • Clone this repository
  • Install dependencies
npm i
  • Install certificates
brew install mkcert
mkcert -install
mkcert -key-file ./.cert/key.pem -cert-file ./.cert/cert.pem "localhost" "0.0.0.0" "127.0.0.1"
  • Start the server you want to proxy
  • Change SOURCE_PORT in index.js if it doesn't match your server port
  • Run with npm run start
  • Go to https://localhost:8009

About

Expose localhost over https

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors