Release of Application Server NGINX Unit 1.11.0

Came to light release of the application server NGINX Unit 1.11, 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.

In the new version:

  • Built-in
    the ability to serve static content independently without referring to an external HTTP server. The ultimate goal is to transform Unit into a full-fledged web server with built-in capabilities for creating web services. To serve static content, it is sufficient to specify the root directory with the served files in the settings and, if necessary, define any missing MIME types:

    "share": "/data/www/example.com"

    "mime_types": {
    "text/plain": [
    "readme",
    ".c",
    ".h"
    ],
    "application/msword": ".doc"
    }

  • Support process isolation of web applications using container isolation features in Linux. In the settings, you can enable various namespaces, utilize cgroup limits, and map UID/GID in the main environment and the isolated container:

    "namespaces": {
    "credential": true,
    "pid": true,
    "network": true,
    "mount": false,
    "uname": true,
    "cgroup": false
    },

    "uidmap": [
    {
    "container": 1000,
    "host": 812,
    "size": 1
    }
    ],

  • Added a built-in implementation of the WebSocket server for JSC servlets (Java Servlet Container). In the previous release, the WebSocket server was implemented for Node.js.
  • Direct addressing support has been added for API settings containing the characters " / ", using their escape sequence (‘’). For example:

    GET /config/settings/http/static/mime_types/text/plain/

Source: opennet.ru

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