Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 7 days ago
JSON representation

GunDB Polyglot Server [ https/wss + letsencrypt ]

Awesome Lists containing this project

README

        

# :gun: polyGun-letsencrypt ![image](https://user-images.githubusercontent.com/1423657/31971779-a18416e0-b91d-11e7-8251-42d509d50640.png)
*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="[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
```