Application server NGINX Unit 1.27.0

published Applications server Nginx unit 1.27.0 , in which a solution develops to ensure launching web applications in various programming languages ​​(Python, PHP, Perl, Ruby, Go, JavaScript/Node.js and Java). The Nginx Unit controls can simultaneously perform several applications in different programming languages, the launch parameters of which can be changed dynamically without the need to edit configuration and restart files. The code is written in the language of si and spreads under the Apache 2.0 license. The features of Nginx Unit can be acquainted in the announcement of the first issue.

in the new version:

  • added the possibility of using variables and empty values ​​in the “location” directive, tied to the actions “Return”.
  • Simplified the redirection of HTTP checks to HTTPS. A new variable of $ Request_uri has been added, containing the URI request that can be used when determining the route as a parameter of the Location Directive inside the Action block:
    {“Listeners”: {“*: 443”: {“tls”: {“certificate”: “Example.com”}, “pass”: “routes”}, “*: 80”: {“pass”: “” ” Routes “}},” Routes “: [{” Match “: {” Scheme “:” http “},” Action “: {” Return “: 301,” location “:” https: // $ $} $ $ $ {Receist_uri} “}}
    }
  • Provides the possibility of setting up a file name different from Index.html, which will be given when applying only to the catalog (for example, site.com/cms/).
    “Routes”: [{“Match”: {“URI”: “/cms/*”}, “Action”: {“Share”: “/Var/CMS $ URI”, “Index”: “Default.html” }}, {“Action”: {“Share”: “/Var/www $ uri”}}
    ]
  • For Ruby Rack, the installation of the encirclement “Script_name”
  • is installed.

  • Compatibility with GCC 12.
/Media reports.