NGINX Unit 1.20.0 Application Server Release

Took place application server release NGINX Unit 1.20, which develops a solution to ensure the launch of web applications in various programming languages ​​(Python, PHP, Perl, Ruby, Go, JavaScript / Node.js and Java). Under the control of NGINX Unit, several applications in different programming languages ​​can run simultaneously, the launch parameters of which can be changed dynamically without the need to edit configuration files and restart. The code is written in C language and spreads licensed under Apache 2.0. You can get acquainted with the features of NGINX Unit in announcement first release.

The new version for the Python language implements API support ASGIA (Asynchronous Server Gateway Interface), which is designed as a replacement for WSGI, aimed at ensuring the interaction of servers, frameworks and applications that support asynchronous operation.
NGINX Unit automatically determines which interface (ASGI or WSGI) is used in a Python application. The ASGI configuration is similar to the previously suggested settings for WSGI.

Other changes:

  • A built-in WebSocket server has been added to the Python module that can be used in applications that are compliant with the ASGI Message Format 2.1 specification.
  • PHP module initialization is now performed before it is placed in chroot, which allows loading all add-ons available in the system.
  • Added AVIF and APNG images to the list of supported MIME types.
  • The test suite has been migrated to use pytest.
  • Automatic mounting of isolated FS /tmp in chroot environments is provided.
  • The $host variable provides access to the normalized value of the "Host" header from the request.
  • Added "callable" option to set the callable names of Python applications.
  • Made compatible with PHP 8 RC 1.
  • Added "automount" option to "isolation" object to disable automatic mounting of dependencies for language support modules.

Source: opennet.ru

Add a comment