{"id":13512333,"url":"https://github.com/openresty/homebrew-brew","last_synced_at":"2025-03-30T22:32:29.575Z","repository":{"id":17503755,"uuid":"78618905","full_name":"openresty/homebrew-brew","owner":"openresty","description":"Official homebrew repo for open source OpenResty","archived":false,"fork":true,"pushed_at":"2025-03-14T04:14:42.000Z","size":652,"stargazers_count":40,"open_issues_count":9,"forks_count":24,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-14T05:22:33.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://openresty.org/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"denji/homebrew-nginx","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openresty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-11T08:33:08.000Z","updated_at":"2025-03-14T04:14:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/openresty/homebrew-brew","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openresty%2Fhomebrew-brew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openresty%2Fhomebrew-brew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openresty%2Fhomebrew-brew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openresty%2Fhomebrew-brew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openresty","download_url":"https://codeload.github.com/openresty/homebrew-brew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390882,"owners_count":20769475,"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":[],"created_at":"2024-08-01T03:01:44.339Z","updated_at":"2025-03-30T22:32:26.428Z","avatar_url":"https://github.com/openresty.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# NGINX Homebrew Tap\n\nThis tap is designed specifically for a custom build of NGINX with more module options.\n\n## How do I install these formule (NGINX Modules)?\nOnce the tap is installed, you can install `nginx-full`\nwith optional [additional modules](https://brew.sh/homebrew-nginx/#modules):\n\n```bash\nbrew tap openresty/brew\nbrew install openresty\n```\n\nThere is also a debug version of openresty for hard-core developers:\n\n```bash\nbrew install openresty-debug\n```\n\nIf you already installed OpenResty from homebrew/nginx, please run the following command first:\n\n```bash\nbrew untap homebrew/nginx\n```\n\nFor a list of available configuration options run:\n\n```bash\nbrew options openresty\n```\n\n## What about conflicts?\n\nYou are free to install this version alongside a current install of NGINX from `Homebrew/homebrew` if you wish. However, they cannot be linked at the same time. To switch between them use brew's built in linking system.\n\n```\nbrew unlink nginx\nbrew link openresty\n```\n\n## Where is the configuration file for openresty?\n\nYou can find the configuration files for openresty under `$HOMEBREW_PREFIX/etc/openresty/` (The default value of `$HOMEBREW_PREFIX` is `/usr/local` and you can check the value of `$HOMEBREW_PREFIX` with `brew --config` command).\n\n## Documentation\n`brew help`, `man brew` or check [Homebrew's documentation](https://github.com/Homebrew/brew/blob/master/docs/README.md).\n\n## Contributing\nPlease see the [contributing guide](https://github.com/openresty/homebrew-brew/blob/master/.github/CONTRIBUTING.md).\n\n## How to submit a new formula\n* Fork this repository on GitHub.\n* Clone to your Mac.\n* Read and look at the other formule here.\n* In your locally cloned `homebrew-nginx` repo, create a new branch: `git checkout --branch my_new_formula`\n* Write/edit your formula (ruby file). Check [Homebrew's documentation](https://github.com/Homebrew/brew/blob/master/docs/README.md) for details.\n* Test it locally! `brew install ./my-new-formula.rb`. Does it install? Note, `./\u003cformula\u003e.rb` will target the local file.\n* `git push --set-upstream origin my-new-formula` to get it into your GitHub fork as a new branch.\n* If you have to change something, add a commit and `git push`.\n* On GitHub, select your new branch and then click the \"Pull Request\" button.\n\n# Development\n\n## update openssl3\n\nRun the following command to update the openssl3 and test the building.\n\n```shell\ncd Formula\n./update-ssl3 3.0.15\nbrew install --build-from-source ./openresty-openssl3.rb\n```\n\n## update openresty\n\nRun the following command to update the openresty and test the building.\n\n```shell\ncd Formula\n./update-or 1.27.1.1\n#change the openssl3 dependency if needed.\nsed -i '' \"s#openresty/brew/openresty-openssl3#$PWD/openresty-openssl3.rb#g\" openresty.rb\nbrew install --build-from-source ./openresty.rb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenresty%2Fhomebrew-brew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenresty%2Fhomebrew-brew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenresty%2Fhomebrew-brew/lists"}