History log of /unit/src/nxt_conf_validation.c (Results 76 – 100 of 143)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1524:e88786e09b50 24-Jul-2020 Valentin Bartenev

Added missing ending indicator in object members validation lists.

This fixes undefined behaviour due to array over-read if an unknown parameter
is specified in an uidmap, a gidmap, or a php target

Added missing ending indicator in object members validation lists.

This fixes undefined behaviour due to array over-read if an unknown parameter
is specified in an uidmap, a gidmap, or a php target object.

show more ...


# 1523:7892866f326e 24-Jul-2020 Axel Duch

Configuration: removing redundant check.

Thanks to 洪志道 (Hong Zhi Dao).


# 1508:3c00af54b937 04-Jul-2020 Axel Duch

Router: route patterns multi wildcards support.


Revision tags: 1.18.0-1, 1.18.0
# 1489:4a3ec07f4b19 28-May-2020 Tiago Natel de Moura

Added "rootfs" feature.


# 1474:9af10e099d09 13-May-2020 Axel Duch

Router: decode uri and args.


# 1473:e07d5b451423 14-May-2020 Valentin Bartenev

PHP: implemented "targets" option.

This allows to specify multiple subsequent targets inside PHP applications.
For example:

{
"listeners": {
"*:80": {
"pass": "route

PHP: implemented "targets" option.

This allows to specify multiple subsequent targets inside PHP applications.
For example:

{
"listeners": {
"*:80": {
"pass": "routes"
}
},

"routes": [
{
"match": {
"uri": "/info"
},

"action": {
"pass": "applications/my_app/phpinfo"
}
},
{
"match": {
"uri": "/hello"
},

"action": {
"pass": "applications/my_app/hello"
}
},
{
"action": {
"pass": "applications/my_app/rest"
}
}
],

"applications": {
"my_app": {
"type": "php",
"targets": {
"phpinfo": {
"script": "phpinfo.php",
"root": "/www/data/admin",
},

"hello": {
"script": "hello.php",
"root": "/www/data/test",
},

"rest": {
"root": "/www/data/example.com",
"index": "index.php"
},
}
}
}
}

show more ...


# 1472:88536f5bd13f 14-May-2020 Valentin Bartenev

Configuration: URI encoding in the "pass" option.

This is useful to escape "/" in path fragments. For example, in order
to reference the application named "foo/bar":

{
"pass": "application

Configuration: URI encoding in the "pass" option.

This is useful to escape "/" in path fragments. For example, in order
to reference the application named "foo/bar":

{
"pass": "applications/foo%2Fbar"
}

show more ...


Revision tags: 1.17.0-1, 1.17.0
# 1440:d1ad3857769c 30-Mar-2020 Igor Sysoev

Rational number support in upstream server weight.


# 1439:32578e837322 30-Mar-2020 Valentin Bartenev

Configuration: support for rational numbers.


# 1432:f650ced3012a 20-Mar-2020 Valentin Bartenev

Implemented "location" option for "return" action.

This allows to specify redirects:

{
"action": {
"return": 301,
"location": "https://www.example.com/"
}
}


# 1429:9a0d78f144ac 27-Mar-2020 Valentin Bartenev

Implemented "return" action.

The "return" action can be used to immediately generate a simple HTTP response
with an arbitrary status:

{
"action": {
"return": 404
}
}

This

Implemented "return" action.

The "return" action can be used to immediately generate a simple HTTP response
with an arbitrary status:

{
"action": {
"return": 404
}
}

This is especially useful for denying access to specific resources.

show more ...


Revision tags: 1.16.0-1, 1.16.0
# 1403:1cee885b7f10 12-Mar-2020 Max Romanov

Using disk file to store large request body.

This closes #386 on GitHub.


# 1394:20b41ebfff79 06-Mar-2020 Igor Sysoev

Round robin upstream added.


# 1378:b9140a6f37c5 03-Mar-2020 Valentin Bartenev

Added a "fallback" option to be used with the "share" action.

It allows proceeding to another action if a file isn't available.

An example:

{
"share": "/data/www/",

"fallback"

Added a "fallback" option to be used with the "share" action.

It allows proceeding to another action if a file isn't available.

An example:

{
"share": "/data/www/",

"fallback": {
"pass": "applications/php"
}
}

In the example above, an attempt is made first to serve a request with
a file from the "/data/www/" directory. If there's no such file, the
request is passed to the "php" application.

Fallback actions may be nested:

{
"share": "/data/www/",

"fallback": {
"share": "/data/cache/",

"fallback": {
"proxy": "http://127.0.0.1:9000"
}
}
}

show more ...


# 1377:4a45d0d5bd51 03-Mar-2020 Valentin Bartenev

Improved validation of the "action" object.

Now it enforces the mutual exclusivity of "pass", "proxy", and "share" options.


Revision tags: 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
# 1326:09f9d521f71f 24-Dec-2019 Axel Duch

Router: introducing routing on listener address.


# 1324:73562b05bf48 24-Dec-2019 Axel Duch

Router: introducing routing on client address.


# 1320:4e70411b9842 24-Dec-2019 Max Romanov

Adding "limits/shm" configuration validation and parsing.


Revision tags: 1.13.0-1, 1.13.0
# 1270:9efa309be18b 14-Nov-2019 Igor Sysoev

Initial proxy support.


# 1235:4d5998f60f20 10-Oct-2019 Igor Sysoev

Style fixes.


# 1233:65b4b931754a 09-Oct-2019 Valentin Bartenev

Configuration: added check for mandatory options of "action".


Revision tags: 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0
# 1183:6008abf06746 18-Sep-2019 Valentin Bartenev

Basic support for serving static files.


# 1182:325b315e48c4 19-Sep-2019 Tiago de Bem Natel de Moura

Initial applications isolation support using Linux namespaces.


Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0
# 1131:ec7d924d8dfb 20-Aug-2019 Max Romanov

Introducing websocket support in router and libunit.


# 1110:4ca6df50b4d4 24-Jul-2019 Axel Duch

Added routing based on request scheme.

Scheme matches exact string “http” or “https”.


123456