njs-examples icon indicating copy to clipboard operation
njs-examples copied to clipboard

NGINX JavaScript examples

Results 12 njs-examples issues
Sort by recently updated
recently updated
newest added

I do want to pass explicit JSON cookies to Backend server with Nginx Javascript module. but i am kind of confused. Please if you can help me with ASAP it...

This NGINX JavaScript example implements two ways to provide autogenerated error_pages with multilingual support and customized html template You are welcome to include it into some tutorial or utilize it...

Hello, is there any way to use js_body_filter and sendBuffer to remove some chars from the source? Nginx is waiting for the same content length, if the content length is...

question

Thanks for all these nice examples. Can you please also create an example for using 3rd party node modules? Or is it still supported after the removal of the `js_include`...

My code in steam.js : console.log('in stream----------------------'); where can i see "in stream----------------------"

Are there any good examples of fs.readSync? I already know how to use readFileSync but need to support an alternate use case that reads larger text files (strings) either line...

I need to transform response body so I am using `r.subrequest` which runs into `too big subrequest response while sending to client`. Several issues are there to this effect and...

Hello, is there any way to declare always header in js_header_filter? like in add_header 'Name' 'value' always;