nginx-man

Nginx-man is a simple NGINX config manager for Node.js apps.

Usage no npm install needed!

<script type="module">
  import nginxMan from 'https://cdn.skypack.dev/nginx-man';
</script>

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.