nginx
Install command:
brew install nginxHTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
License: BSD-2-Clause
Development: Pull requests
Formula JSON API: /api/formula/nginx.json
Formula code: nginx.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 1.31.5 |
| head | ⚡️ | HEAD |
Depends on:
| openssl@3 | 3.6.4 | Cryptography and SSL/TLS Toolkit |
| pcre2 | 10.48 | Perl compatible regular expressions library with a new API |
Uses from macOS: xz (build), libxcrypt
Binaries:
nginx
Service:
| Start now and at login: | brew services start nginx |
| Run directly: | $HOMEBREW_PREFIX/opt/nginx/bin/nginx -g daemon off; |
| Docroot is: $HOMEBREW_PREFIX/var/www The default port has been set in $HOMEBREW_PREFIX/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo. nginx will load all files in $HOMEBREW_PREFIX/etc/nginx/servers/. |
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 7,462 | 25,126 | 122,322 |
Installs (--HEAD) | 9 | 29 | 208 |
| Installs on Request | 7,433 | 25,032 | 122,015 |
Installs on Request (--HEAD) | 9 | 29 | 208 |
| Build Errors | 5 |