Skip to content

Ironclad/homebrew-brew

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX Homebrew Tap

This tap is designed specifically for a custom build of NGINX with more module options.

How do I install these formule (NGINX Modules)?

Once the tap is installed, you can install nginx-full with optional additional modules:

brew tap ironclad/brew
brew install openresty

There is also a debug version of openresty for hard-core developers:

brew install openresty-debug

If you already installed OpenResty from homebrew/nginx, please run the following command first:

brew untap homebrew/nginx

For a list of available configuration options run:

brew options openresty

What about conflicts?

You 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

Where is the configuration file for 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).

Documentation

brew help, man brew or check Homebrew's documentation.

Contributing

Please see the contributing guide.

How to submit a new formula

  • Fork this repository on GitHub.
  • Clone to your Mac.
  • Read and look at the other formule here.
  • In your locally cloned homebrew-nginx repo, 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>.rb will target the local file.
  • git push --set-upstream origin my-new-formula to 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.

About

Official homebrew repo for open source OpenResty

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%