{"id":15102733,"url":"https://github.com/jirutka/nginx-json-schema","last_synced_at":"2025-04-05T11:42:38.664Z","repository":{"id":239493802,"uuid":"799672563","full_name":"jirutka/nginx-json-schema","owner":"jirutka","description":"JSON schema for NGINX configuration","archived":false,"fork":false,"pushed_at":"2024-05-23T23:24:24.000Z","size":186,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T22:45:39.644Z","etag":null,"topics":["json-schema","nginx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jirutka.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-12T20:31:19.000Z","updated_at":"2024-05-23T23:24:27.000Z","dependencies_parsed_at":"2024-05-21T01:42:12.890Z","dependency_job_id":"454d840a-9d7e-44c5-84d8-0da4cc6fb7cb","html_url":"https://github.com/jirutka/nginx-json-schema","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"f6aa3d9d608ac7cace6fcb22fbccb57b26343082"},"previous_names":["jirutka/nginx-json-schema"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fnginx-json-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fnginx-json-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fnginx-json-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirutka%2Fnginx-json-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirutka","download_url":"https://codeload.github.com/jirutka/nginx-json-schema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332524,"owners_count":20921852,"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","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":["json-schema","nginx"],"created_at":"2024-09-25T19:05:36.438Z","updated_at":"2025-04-05T11:42:38.634Z","avatar_url":"https://github.com/jirutka.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"= NGINX JSON Schema\n:proj-name: nginx-json-schema\n:gh-name: jirutka/{proj-name}\n\nTBD\n\nhttps://jirutka.github.io/{proj-name}/nginx-full.json\n\n\n== Tools\n\n* https://github.com/jirutka/nginx-jsconf[nginx-jsconf] – JS library and a CLI tool to convert nginx configuration from YAML or JSON to nginx config format\n* link:scripts/nginx-json-schema-filter.mjs[nginx-json-schema-filter] – Script to remove selected nginx modules from nginx-full.json\n\n\n== Examples\n\nDirective without a value::\n+\n[source, nginx]\nip_hash;\n+\n[source, yaml]\nip_hash: null\n\nRepeated directive::\n+\n[source, nginx]\nallow 127.0.0.1;\nallow ::1;\n+\n[source, yaml]\nallow:\n  - 127.0.0.1\n  - ::1\n\nBlock directive without a parameter::\n+\n[source, nginx]\n----\nevents {\n    worker_connections 4096;\n}\n----\n+\n[source, yaml]\nevents:\n  worker_connections: 4096\n\nBlock directive with a parameter::\n+\n[source, nginx]\n----\nlocation ~ ^/api/v[0-9]+/ {\n    index on;\n}\nlocation / {\n    index on;\n}\n----\n+\n[source, yaml]\nlocation:\n  '~ ^/api/v[0-9]+/':\n    index: on\n  /:\n    index: on\n\nRepeated directive in object notation::\n+\n[source, nginx]\nproxy_set_header Host $http_host;\nproxy_set_header Forwarded $proxy_add_forwarded;\n+\n[source, yaml]\nproxy_set_header:\n  Host: $http_host\n  Forwarded: $proxy_add_forwarded\n\nSingle directive with a scalar value::\n+\n[source, nginx]\nproxy_buffering off\n+\n[source, yaml]\nproxy_buffering: false\n\n\n== License\n\nThis project is licensed under https://opensource.org/license/mit/[MIT License].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fnginx-json-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirutka%2Fnginx-json-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirutka%2Fnginx-json-schema/lists"}