Awesome
:gun: polyGun-letsencrypt
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