Skip to content

lmangani/polyGun-letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔫 polyGun-letsencrypt image

Simply start a secure gun server w/ LetsEncrypt SSL Certificates

Features

  • Fetch SSL certificates from LetsEncrypt
  • Automatically renew certificates
  • Forward all incoming HTTP requests to HTTPS

Parameters

  • PEM_EMAIL: registration + notification email for LetsEncrypt
  • PEM_DOMAIN: domain name for certificate
  • PRODUCTION: boolean, false for staging only (fake certificates)

Usage

Staging

PEM_EMAIL="your.name@some.domain" PEM_DOMAIN="gun.some.domain" nodejs server.js

Production

PEM_EMAIL="your.name@some.domain" PEM_DOMAIN="gun.some.domain" PRODUCTION="true" nodejs server.js

Releases

No releases published

Sponsor this project

 

Packages

No packages published