This tap is designed specifically for a custom build of NGINX with more module options.
Once the tap is installed, you can install nginx-full
with optional additional modules:
brew tap ironclad/brew
brew install openrestyThere is also a debug version of openresty for hard-core developers:
brew install openresty-debugIf you already installed OpenResty from homebrew/nginx, please run the following command first:
brew untap homebrew/nginxFor a list of available configuration options run:
brew options openrestyYou 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.
brew unlink nginx
brew link openresty
You 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).
brew help, man brew or check Homebrew's documentation.
Please see the contributing guide.
- Fork this repository on GitHub.
- Clone to your Mac.
- Read and look at the other formule here.
- In your locally cloned
homebrew-nginxrepo, create a new branch:git checkout --branch my_new_formula - Write/edit your formula (ruby file). Check Homebrew's documentation for details.
- Test it locally!
brew install ./my-new-formula.rb. Does it install? Note,./<formula>.rbwill target the local file. git push --set-upstream origin my-new-formulato get it into your GitHub fork as a new branch.- If you have to change something, add a commit and
git push. - On GitHub, select your new branch and then click the "Pull Request" button.