polyGun-letsencrypt icon indicating copy to clipboard operation
polyGun-letsencrypt copied to clipboard

GunDB Polyglot Server [ https/wss + letsencrypt ]

:gun: 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="[email protected]" PEM_DOMAIN="gun.some.domain" nodejs server.js

Production

PEM_EMAIL="[email protected]" PEM_DOMAIN="gun.some.domain" PRODUCTION="true" nodejs server.js