{"id":15700946,"url":"https://github.com/kaelzhang/ngx","last_synced_at":"2025-10-27T22:35:28.476Z","repository":{"id":65411337,"uuid":"85289328","full_name":"kaelzhang/ngx","owner":"kaelzhang","description":"Data-driven nginx configuration manager.","archived":false,"fork":false,"pushed_at":"2018-02-13T12:55:03.000Z","size":104,"stargazers_count":6,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T18:16:19.339Z","etag":null,"topics":["configuration","configuration-management","nginx","ngx","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaelzhang.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-17T08:37:47.000Z","updated_at":"2023-07-11T22:35:07.000Z","dependencies_parsed_at":"2023-01-22T06:55:16.489Z","dependency_job_id":null,"html_url":"https://github.com/kaelzhang/ngx","commit_stats":null,"previous_names":["kaelzhang/node-ngx"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/kaelzhang/ngx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelzhang%2Fngx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelzhang%2Fngx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelzhang%2Fngx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelzhang%2Fngx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaelzhang","download_url":"https://codeload.github.com/kaelzhang/ngx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelzhang%2Fngx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355371,"owners_count":26486897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","configuration-management","nginx","ngx","nodejs"],"created_at":"2024-10-03T19:56:55.099Z","updated_at":"2025-10-27T22:35:28.421Z","avatar_url":"https://github.com/kaelzhang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/kaelzhang/node-ngx.svg?branch=master)](https://travis-ci.org/kaelzhang/node-ngx)\n\u003c!-- optional appveyor tst\n[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/kaelzhang/node-ngx?branch=master\u0026svg=true)](https://ci.appveyor.com/project/kaelzhang/node-ngx)\n--\u003e\n\u003c!-- optional npm version\n[![NPM version](https://badge.fury.io/js/ngx.svg)](http://badge.fury.io/js/ngx)\n--\u003e\n\u003c!-- optional npm downloads\n[![npm module downloads per month](http://img.shields.io/npm/dm/ngx.svg)](https://www.npmjs.org/package/ngx)\n--\u003e\n\u003c!-- optional dependency status\n[![Dependency Status](https://david-dm.org/kaelzhang/node-ngx.svg)](https://david-dm.org/kaelzhang/node-ngx)\n--\u003e\n\n# ngx\n\nThe Data-driven nginx configuration manager, featured:\n\n- Resolved path calculation for `include`, `root`, and other directives.\n- Nginx-style template engine and building system to reuse a template with several sets of data.\n- Directive `include` with glob patterns, such as `include conf.d/**/*.conf;`\n\n## Install\n\n```sh\n$ npm install -g ngx\n```\n\n## Usage\n\n```sh\nNGX_ENV=production ngx start\n# or\nngx start --env production\n```\n\nFor now, you can find the example at the [sample](https://github.com/kaelzhang/node-ngx/tree/master/sample) directory.\n\n```sh\ngit clone git@github.com:kaelzhang/node-ngx.git\ncd node-ngx\nnpm link\ncd sample\nngx start --env production\n```\n\nAnd the nginx will start and you will find compiled nginx conf files at `sample/nginx` directory.\n\n## Contributing\n\nPRs or wishlists are welcome. Please be free to create an [issue](https://github.com/kaelzhang/node-ngx/issues/new).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaelzhang%2Fngx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaelzhang%2Fngx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaelzhang%2Fngx/lists"}