application server , 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 licensed under Apache 2.0. You can explore the features of NGINX Unit at the first release.
The new version is compatible with the latest branch of Python 3.8, addresses issues when using Ruby 2.6, and implements functionality as a simple reverse proxy. The reverse proxy is configured using the 'proxy' directive in the 'action' section. It supports request forwarding via IPv4, IPv6, or Unix sockets. For example:
{
"routes": [
{
"match": {
"uri": "/ipv4/*"
},
"action": {
"proxy": "http://127.0.0.1:8080"
}
},
{
"match": {
"uri": "/unix/*"
},
"action": {
"proxy": "http://unix:/path/to/unix.sock"
}
}
]
}
In the long term, there are plans to transform Unit into a self-sufficient, high-performance component for use with any web services. To achieve this goal, further work will focus on areas such as security, isolation, and DoS protection, the ability to run various types of dynamic applications, load balancing and fault tolerance, efficient delivery of static content, statistical accumulation tools, and monitoring.
Source: opennet.ru
