1.0.6 • Published 8 years ago

smartnginx v1.0.6

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
8 years ago

smartnginx

control nginx from node, TypeScript ready

Status

build status

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! :)

import * as smartnginx from "smartnginx";
myNginxConfig = new smartnginx.NginxConfig();
myNginxZone = new smartnginx.NginxZone({
    zoneName:"some.example.com",
    type:"reverseProxy",
    destination:"192.192.192.192" // some destination IP
});
myNginxConfig.addZone(myNginxZone); // adds the zone to the config
myNginxConfig.deploy(); // deploys the referenced NginxConfig and gracefully reloads it
1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago