njs-0.5.3

2021-03-30 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: - js_var directive. The directive creates an nginx variable writable from njs. The variable is not overwritten after a redirect unli

May the URI specified with `auth_request` directive, reference capture groups (e.g. `$1`) from containing location?

2021-03-30 Thread J6DKLygdGq139TVZiBxq
Hi all, I may be missing some crucial request processing knowledge, but I am trying to issue an authentication request with variable URI, as as part of processing a request for a protected resource. I hope I am able to express below what I want: ``` location ~ /foo/(\d+)/bar { auth_request /a

nginx-1.19.9

2021-03-30 Thread Maxim Dounin
Changes with nginx 1.19.930 Mar 2021 *) Bugfix: nginx could not be built with the mail proxy module, but without the ngx_mail_ssl_module; the bug had appeared in 1.19.8. *) Bugfix: "upstream sent response body larger than indicated content