njs-0.5.1

2021-02-16 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release focuses on extending the modules functionality. Notable new features: - ngx.fetch() method implements a generic HTTP client which does not depend on subrequests: : example.js: : function fetch(r) { :

nginx-1.19.7

2021-02-16 Thread Maxim Dounin
Changes with nginx 1.19.716 Feb 2021 *) Change: connections handling in HTTP/2 has been changed to better match HTTP/1.x; the "http2_recv_timeout", "http2_idle_timeout", and "http2_max_requests" directives have been removed, the "kee

Re: proxy_store doesn't create directories

2021-02-16 Thread Phil Endecott
Phil Endecott wrote: > I have just tried to use proxy_store for the first time and > it seems to almost work, but it looks like it does not create > the parent directories for the things that it needs to save. OK, I've got this working now. My aim is for a request to http://server.local/remote.co

Proxy pass set body on if

2021-02-16 Thread sanflores
I have an Angular app and need to use puppeteer for SSR. In order to make it work I need to send the request with the body but I can't figure how to make these things work together. if ($limit_bots = 1){ proxy_pass http://localhost:3000/puppeteer/download/html/;