Dmitry Volyntsev

Results 119 comments of Dmitry Volyntsev

> get rid of global this done in (behavior is optional to pass test262 tests)https://github.com/nginx/njs/commit/3a5298339383e5c85a80d20bc23365e918b2d8e7

>Is there a syntax to submit subrequests to the FastCGI backend? Making a subrequest to `fastcgi_pass` location works as well. `r.subrequest()` operates with nginx locations, so any location will work.

@lancedockins Take a looks at [fastcgi_pass](http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_pass).

>So you're saying that the same syntax applies in the subrequest method? r.subrequest() takes as its first argument a nginx location, ``` location /secure { js_content main.handler; } location /fastcgi...

Hi @lancedockins, I am not very familiar with fastcgi, can you please provide me with complete, but minimal example? What you do, what you expect, and what you get. I...

@lancedockins May be you need to set additional [params](http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html), and [here](http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#parameters).

Hi @tzukav, You also have to[ set or drop](http://nginx.org/en/docs/http/ngx_http_js_module.html#js_body_filter) Content-Length altogether.

Hi @magic-thomas, The CLI binary is named [njs](http://nginx.org/en/docs/njs/cli.html). Make command to build the CLI is `make njs`.

> tried with make njs , but failed. Please, share the configure and compilation logs.

Why `make hls`? Where did you take the configure and build options for nginx?