Skip to content

v2.5-stable

Compare
Choose a tag to compare
@dedok dedok released this 06 Oct 21:21
· 48 commits to master since this release

Features

  1. tnt_multireturn_skip_count has returned, for getting details see related issue (#97)
syntax: tnt_multireturn_skip_count [0|1|2]

default: 0

context: http, server, location

Module will skip one or more multireturn parts when this option is > 0 When it is set to 0
  1. tnt_method can work with nginx's variables, here is a short example:
location ~ /api/([-_a-zA-Z0-9/]+)/ {
    tnt_method $1;
    tnt_pass backend:3113;
}
  1. tnt_pass_http_request has a new option, it's parse_urlencoded. This option make nginx parse incoming x-www-urlencoded data into the Lua table. Here is details: https://github.com/tarantool/nginx_upstream_module#tnt_pass_http_request

  2. tnt_set_header, it's a new option. it allows redefining or appending fields to the request header passed to the tarantool proxied server. The value can contain text, variables, and their combinations.