f18f008f84d17735862c341d8ca89b18b1811b40
				
			
			
		
	@pushrocks/smartnginx
control nginx from node, TypeScript ready
Availabililty and Links
Status for master
Usage
We recommend the use of TypeScript! :)
import * as smartnginx from 'smartnginx';
const smartnginxInstance = new smartnginx.SmartNginx();
myNginxHost = new smartnginx.NginxHost({
  hostName: '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
For further information read the linked docs at the top of this readme.
MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy
Description
				A TypeScript library for controlling Nginx from Node.js, with support for generating and managing Nginx configurations dynamically.
						
						
						
					Languages
				
				
								
								
									TypeScript
								
								100%