Skip to content

qoomon/self-signed-https-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

self-signed-https-proxy

Build Status

GitHub release

Docker Stars

Generate self-signed certificate for given SERVER_DOMAIN on the fly and starts a proxy https server.

build

docker build -t self-signed-https-proxy .

Usage

docker run -p 443:443 self-signed-https-proxy

Mount local directory to store and reuse certificate and key

docker run -v "$PWD":'/etc/nginx/certificates' -p 443:443 self-signed-https-proxy

Environment Variables

  • SERVER_DOMAIN default: 'localtest.me'
    • 'localtest.me' and subdomains will always resolve to 127.0.0.1
  • SERVER_PORT default: '443'
  • TARGET_DOMAIN default: "$SERVER_DOMAIN"
  • TARGET_PORT default: '80'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published