castle-nginx-config
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

castle-nginx-config

castle`s nginx config file generate

(async () => {
    let config = new nginxConfig();
    config.addLocation('proxy_pass http://www.baidu.com/;')
    config.server_name = ['www.tansuyun.cn']
    config.setSsl('./key', './key')
    console.log(await gen_conf(config))
})()

Readme

Keywords

none

Package Sidebar

Install

npm i castle-nginx-config

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

5.07 kB

Total Files

7

Last publish

Collaborators

  • yanpengquan