npm install ngx

The Data-driven nginx configuration manager

More from kaelzhang

kaelzhang npm packages

Find the best node modules for your project.

Search npm

ignore

Ignore is a manager and filter for ...

Read more
,

ngx

The Data-driven nginx configuration...

Read more

Dependencies

Core dependencies of this npm package and its dev dependencies.

code-stringify, commander, cross-spawn, debug, fs-extra, globby, is-glob, js-yaml, json5, make-array, once, pre-suf, typo, typo-chalk, ava, babel-cli, babel-plugin-syntax-trailing-function-commas, babel-plugin-transform-async-to-generator, babel-plugin-transform-class-properties, babel-plugin-transform-es2015-modules-commonjs, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-inline-environment-variables, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-es2015

Documentation

A README file for the ngx code repository. View Code

Build Status

ngx

The Data-driven nginx configuration manager, featured:

Install

$ npm install -g ngx

Usage

NGX_ENV=production ngx start
# or
ngx start --env production

For now, you can find the example at the sample directory.

git clone git@github.com:kaelzhang/node-ngx.git
cd node-ngx
npm link
cd sample
ngx start --env production

And the nginx will start and you will find compiled nginx conf files at sample/nginx directory.

Contributing

PRs or wishlists are welcome. Please be free to create an issue.

License

MIT