nginx-man
v0.1.2
Published
Nginx-man is a simple NGINX config manager for Node.js apps.
Downloads
518
Readme
node-nginx-man
Nginx-man is a simple NGINX configuration manager for Node.js apps.
Installation
nginx-man requires Node.js v8+ to run.
Install dependency.
npm install nginx-man
Usage example
const nginxMan = require('nginx-man');
nginxMan.updateConfig({
proxy_servers: [
{ domain: 'example.domain.com', port: 8080 },
],
});
Development
Want to contribute? Great! Feel free to submit issues or pull requests.