nginx (www/nginx) Updated: 1 year ago Add to my watchlist

High-performance HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server

Nginx ("engine x") is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server.

Version: 1.24.0 License: BSD GitHub
Maintainers Schamschula
Categories mail www
Homepage https://nginx.org/
Platforms darwin
Variants
  • auth_request (Add client authorization based on the result of a subrequest)
  • dav (Add WebDAV support to server)
  • davext (Add WebDAV (extended) support to server)
  • debug (Enable debug mode)
  • degradation (Allow to return 204 or 444 code for some locations on low memory condition)
  • devel_kit (Enable ngx_devel_kit module (https://github.com/simpl/ngx_devel_kit))
  • echo (Brings echo, sleep, time, exec and more shell-style goodies to Nginx config file)
  • fancyindex (Add fancy index support; file listings, like the built-in autoindex module does, but with a touch of style)
  • flv (Add FLV (Flash Video) streaming support to server)
  • geoip2 (Enable Ngx http GeoIP2 module (https://github.com/leev/ngx_http_geoip2_module))
  • gperftools (Enable Google Performance Tools profiling for workers)
  • gzip_static (Avoids compressing the same file each time it is requested)
  • headers_more (Enable headers-more module (https://github.com/openresty/headers-more-nginx-module))
  • http2 (Add HTTP/2 support to the server)
  • http_push (Enable Ngx HTTP Push module (https://github.com/slact/nchan))
  • lua (Enable Lua module (https://github.com/openresty/lua-nginx-module))
  • mail (Add IMAP4/POP3 mail proxy support)
  • mp4 (Enables mp4 streaming with seeking ability)
  • perl5 (Add perl support to the server directly within nginx and call perl via SSI)
  • realip (For using nginx as backend)
  • redis (Enable Ngx HTTP Redis module)
  • rtmp (Enable Ngx RTMP module (https://github.com/arut/nginx-rtmp-module))
  • ssl (Add SSL (HTTPS) support to the server, and also to the mail proxy if that is enabled)
  • status (Add /nginx_status support to the server)
  • stream (Enable ngx_stream_core_module for generic TCP proxying and load balancing (install with +ssl to enable ngx_stream_ssl_module))
  • threads (Add threads support (http://nginx.org/en/docs/ngx_core_module.html#thread_pool))
  • universal (Build for multiple architectures)
  • upload (Enable Valery Kholodkov's upload module (http://grid.net.ru/nginx/upload.en.html))
  • upload_progress (Enable Brice Figureau's upload progress module (https://github.com/masterzen/nginx-upload-progress-module))
  • vod (Add MP4 repackeging for HLS, DASH, HDS, HSS using nginx-vod-module)
  • xslt (Post-process pages with XSLT)
  • zip (Enable Ngx zip download module (https://github.com/evanmiller/mod_zip))

"nginx" depends on

lib (3)
build (1)

Ports that depend on "nginx"




Port notes

A set of sample configuration files has been installed in ${prefix}/share/nginx/examples.

Additionally, the files nginx.conf, mime.types, fastcgi.conf have been copied to ${prefix}/etc/nginx if they didn't exist yet.
Adjust these files to your needs before starting nginx. A startup item has been generated that will aid in starting nginx with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load nginx


Port Health:

Loading Port Health

Installations (30 days)

52

Requested Installations (30 days)

42