Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, distributed under a BSD-like protocol, available on UNIX, GNU/Linux, Run on operating systems such as BSD, Mac OS X, Solaris, and Microsoft Windows.
Basic HTTP server features
- Serving static and index files, autoindexing; open file descriptor cache;
- Accelerated reverse proxying with caching; load balancing and fault tolerance;
- Accelerated support with caching of FastCGI, uwsgi, SCGI, and memcached servers; load balancing and fault tolerance;
- Modular architecture. Filters include gzipping, byte ranges, chunked responses, XSLT, SSI, and image transformation filter. Multiple SSI inclusions within a single page can be processed in parallel if they are handled by proxied or FastCGI/uwsgi/SCGI servers;
- SSL and TLS SNI support;
- Support for HTTP/2 with weighted and dependency-based prioritization.
Other HTTP server features
- Name-based and IP-based virtual servers;
- Keep-alive and pipelined connections support;
- Access log formats, buffered log writing, fast log rotation, and syslog logging;
- 3xx-5xx error codes redirection;
- The rewrite module: URI changing using regular expressions;
- Executing different functions depending on the client address;
- Access control based on client IP address, by password (HTTP Basic authentication) and by the result of subrequest;
- Validation of HTTP referer;
- The PUT, DELETE, MKCOL, COPY, and MOVE methods;
- FLV and MP4 streaming;
- Response rate limiting;
- Limiting the number of simultaneous connections or requests coming from one address;
- IP-based geolocation;
- A/B testing;
- Request mirroring;
- Embedded Perl;
Nginx mainline version 1.17.1 has been released.
- *) Feature: the “limit_req_dry_run” directive.
- *) Feature: when using the “hash” directive inside the “upstream” block an empty hash key now triggers round-robin balancing.
Thanks to Niklas Keller.
- *) Bugfix: a segmentation fault might occur in a worker process if caching was used along with the “image_filter” directive, and errors with code 415 were redirected with the “error_page” directive; the bug had appeared in 1.11.10.
- *) Bugfix: a segmentation fault might occur in a worker process if embedded perl was used; the bug had appeared in 1.7.3.