release of the main branch , within which the development of new features continues (in the parallel stable branch only changes related to fixing critical bugs and vulnerabilities are made).
Key :
- New variables added and , which contain the server address and port obtained from the PROXY protocol header;
- The directive has been added , translates the ngx_http_limit_conn_module to dry run mode, where the number of connections is not limited but counted.
- In the module added variable $limit_conn_status, which stores the result of the connection limit: PASSED, REJECTED, or REJECTED_DRY_RUN;
- In the module added variable $limit_req_status, which stores the result of the request rate limiting: PASSED, DELAYED, REJECTED, DELAYED_DRY_RUN, or REJECTED_DRY_RUN.
Additionally, it can be noted , a JavaScript language interpreter for the nginx web server. The njs interpreter implements ECMAScript standards and allows extending nginx capabilities for request handling using scripts in configuration. Scripts can be used in the configuration file to define advanced request handling logic, generate configurations, dynamically create responses, modify requests/responses, or quickly create stubs for troubleshooting web applications.
The new release adds support for Object.assign() and Array.prototype.copyWithin() methods. console.time() now supports labels. The code for interacting with external objects and processing JSON data has been redesigned. The console.help() call has been removed from the CLI.
Source: opennet.ru
