https://github.com/lmangani/polyGun-letsencrypt
GunDB Polyglot Server [ https/wss + letsencrypt ]
https://github.com/lmangani/polyGun-letsencrypt
graph gun gundb https letsencrypt relay server ssl wss
Last synced: 10 months ago
JSON representation
GunDB Polyglot Server [ https/wss + letsencrypt ]
- Host: GitHub
- URL: https://github.com/lmangani/polyGun-letsencrypt
- Owner: lmangani
- Created: 2017-10-24T20:43:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T19:07:57.000Z (over 5 years ago)
- Last Synced: 2025-03-30T23:05:28.039Z (10 months ago)
- Topics: graph, gun, gundb, https, letsencrypt, relay, server, ssl, wss
- Language: JavaScript
- Homepage: https://gundb.io
- Size: 3.91 KB
- Stars: 21
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :gun: polyGun-letsencrypt 
*Simply start a secure [gun](https://github.com/amark/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
```