tarantool / nginx_upstream_module

Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
Other
174 stars 18 forks source link

Added `pass_subrequest_uri` option #118

Closed igormunkin closed 6 years ago

igormunkin commented 6 years ago

Previous implementation unconditionally passes unparsed uri, recieved from client. However it can be changed due to several internal redirects, such as rewrite, X-Accel-Redirect, etc. If the new option for tnt_pass_http_request is set, the actual subrequest uri will be passed to tarantool upstream.

Default behaviour coincides with the old one for saving backward compatibility.