improve README

This commit is contained in:
Philipp Kunz 2016-07-25 02:02:24 +02:00
parent 6de1352f5f
commit 52c3b40879

View File

@ -4,6 +4,13 @@ control nginx from node, TypeScript ready
## Status
[![build status](https://gitlab.com/pushrocks/smartnginx/badges/master/build.svg)](https://gitlab.com/pushrocks/smartnginx/commits/master)
## Features
* easy reverse configuration
* automatic letsencrypt DNS01 challenge based ssl cert generation
* automatic nginx process handling zero-downtime config reloading
* works in Docker environements
## Usage
We recommend the use of TypeScript! :)
@ -16,5 +23,5 @@ myNginxZone = new smartnginx.NginxZone({
destination:"192.192.192.192" // some destination IP
});
myNginxConfig.addZone(myNginxZone); // adds the zone to the config
myNginxConfig.deploy(); // deploys the referenced NginxConfig and restarts nginx
myNginxConfig.deploy(); // deploys the referenced NginxConfig and gracefully reloads it
```