Add new Directive to existing nginx module

2019-11-27 Thread gagandeep
Is it possible to add new directive to existing nginx modules? While trying to add i am getting the error. "directive is duplicate in " Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286351,286351#msg-286351 ___ nginx mailing list nginx@ngi

Re: Are modules built with --with-compat compatible across minor versions of NGINX?

2019-11-27 Thread Maxim Dounin
Hello! On Tue, Nov 26, 2019 at 04:10:28PM -0500, ptcell wrote: > If I build a dynamic module against, say nginx 1.12.2 with `--with-compat`, > will it work with, say nginx 1.12.1 (assuming --with-compat all around) > > > I assume not, because I found this in ngx_module.c, separate from the > si

Re: upstream_response_length and upstream_addr can't work

2019-11-27 Thread Roman Arutyunyan
Hi, On Wed, Nov 27, 2019 at 09:14:09AM +0800, lx wrote: > Hi: > When we use module of slice, the nuber of bytes from upstream server > is more than the bytes which sent to client, So I want to get the number > of bytes from upstream server, How to get it? We don't have a variable that ret