Socket
Socket
Sign inDemoInstall

ngx

Package Overview
Dependencies
140
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ngx

The Data-driven nginx configuration manager


Version published
Weekly downloads
684
increased by9.62%
Maintainers
1
Install size
6.67 MB
Created
Weekly downloads
 

Readme

Source

Build Status

ngx

The Data-driven nginx configuration manager, featured:

  • Resolved path calculation for include, root, and other directives.
  • Nginx-style template engine and building system to reuse a template with several sets of data.
  • Directive include with glob patterns, such as include conf.d/**/*.conf;

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

Keywords

FAQs

Last updated on 13 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc