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 |
tahoe | ✅ |
|---|---|---|
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ | |
Current versions:
| stable | ✅ | 1.31.4 |
| head | ⚡️ | HEAD |
Depends on:
| openssl@3 | 3.6.3 | Cryptography and SSL/TLS Toolkit |
| pcre2 | 10.47 | 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 | 8,253 | 26,651 | 124,888 |
Installs (--HEAD) | 9 | 38 | 215 |
| Installs on Request | 8,227 | 26,546 | 124,580 |
Installs on Request (--HEAD) | 9 | 38 | 215 |
| Build Errors | 7 |