{"id":13862828,"url":"https://github.com/ajc/nginx-mode","last_synced_at":"2025-08-26T20:02:29.439Z","repository":{"id":45162424,"uuid":"986438","full_name":"ajc/nginx-mode","owner":"ajc","description":"Emacs editing mode for Nginx config files","archived":false,"fork":false,"pushed_at":"2024-04-12T04:03:00.000Z","size":26,"stargazers_count":100,"open_issues_count":4,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-14T15:13:50.061Z","etag":null,"topics":["emacs","emacs-lisp","nginx"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2010-10-14T09:06:50.000Z","updated_at":"2024-09-09T06:27:02.000Z","dependencies_parsed_at":"2024-06-19T23:00:27.246Z","dependency_job_id":null,"html_url":"https://github.com/ajc/nginx-mode","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ajc/nginx-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajc%2Fnginx-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajc%2Fnginx-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajc%2Fnginx-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajc%2Fnginx-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajc","download_url":"https://codeload.github.com/ajc/nginx-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajc%2Fnginx-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272251947,"owners_count":24900551,"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-08-26T02:00:07.904Z","response_time":60,"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":["emacs","emacs-lisp","nginx"],"created_at":"2024-08-05T06:01:53.525Z","updated_at":"2025-08-26T20:02:29.376Z","avatar_url":"https://github.com/ajc.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"# nginx-mode.el --- major mode for editing nginx config files\n\nCopyright 2010 Andrew J Cosgriff \u003candrew@cosgriff.name\u003e\n\n* Author: Andrew J Cosgriff \u003candrew@cosgriff.name\u003e\n* Maintainer: Andrew J Cosgriff \u003candrew@cosgriff.name\u003e\n* Created: 15 Oct 2010\n* Keywords: nginx\n\navailable from http://github.com/ajc/nginx-mode\n\n[![MELPA](https://melpa.org/packages/nginx-mode-badge.svg)](https://melpa.org/#/nginx-mode)\n[![MELPA Stable](https://stable.melpa.org/packages/nginx-mode-badge.svg)](https://stable.melpa.org/#/nginx-mode)\n\nLicensed under the [GPL version 2](http://www.gnu.org/licenses/) or later.\n\n# Commentary\n\nThis is a quick mode for editing Nginx config files, as I didn't find\nanything else around that did quite this much.\n\nMany thanks to the authors of `puppet-mode.el`, from where I found a\nuseful indentation function that I've modified to suit this situation.\n\nPut this file into your `load-path` and the following into your `~/.emacs`:\n```lisp\n  (require 'nginx-mode)\n```\n\nNow that nginx-mode is available via NonGNU ELPA, you could also:\n```lisp\n(use-package nginx-mode\n :commands nginx-mode)\n```\n\nThe mode automatically activates for:\n\n1. Files, called `nginx.conf`\n2. Files ending in `.conf` under `nginx` directory\n\nIf you want `sites-enabled` dir, add this to `~/.emacs` (not done by\ndefault, because can be shadowed by `apache-mode`):\n\n```lisp\n(add-to-list 'auto-mode-alist '(\"/nginx/sites-\\\\(?:available\\\\|enabled\\\\)/\" . nginx-mode))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajc%2Fnginx-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajc%2Fnginx-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajc%2Fnginx-mode/lists"}