Release of NGINX Unit application server 1.20.0

Took place release of the application server NGINX Unit 1.20, as part of which a solution is developed to enable the launch of web applications in various programming languages (Python, PHP, Perl, Ruby, Go, JavaScript/Node.js, and Java). Under NGINX Unit, multiple applications in different programming languages can run simultaneously, with launch parameters that can be dynamically changed without the need to edit configuration files or restart. The code is written in C and is distributed is licensed under Apache 2.0. You can explore the features of NGINX Unit at announcement the first release.

The new version supports the API for the Python language. ASGI (Asynchronous Server Gateway Interface), which was developed as a replacement for WSGI, aimed at facilitating interaction between servers, frameworks, and applications that support asynchronous operation.
NGINX Unit automatically detects the interface used in the Python application (ASGI or WSGI). ASGI configuration is similar to the previously offered settings for WSGI.

Other changes:

  • A built-in WebSocket server has been added to the Python module, which can be used in applications compatible with the ASGI Message Format 2.1 specification.
  • The PHP module is now initialized before being placed in chroot, allowing it to load all available extensions in the system.
  • AVIF and APNG image MIME types have been added to the supported list.
  • The test suite has been translated to use pytest.
  • Automatic mounting of the isolated filesystem /tmp in chroot environments is ensured.
  • Access to the normalized value of the 'Host' header from requests is provided through the $host variable.
  • A 'callable' option has been added for setting the callable names of Python applications.
  • Compatibility with PHP 8 RC 1 has been ensured.
  • The 'isolation' object now includes an 'automount' option to disable automatic mounting of dependencies for language support modules.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster