Re: 200ms delay when serving stale content and proxy_cache_background_update enabled

2017-05-30 Thread Jean-Paul Hemelaar
I think this solves the issue: http://hg.nginx.org/nginx/rev/9552758a786e Thanks, JP On Wed, Mar 15, 2017 at 11:05 AM, Jean-Paul Hemelaar wrote: > Hi, > > I noticed a delay of approx. 200ms when the proxy_cache_background_update > is used and Nginx sends stale content to the client. > > Curren

Re: Upstream module usage to process data

2017-05-30 Thread Maxim Dounin
Hello! On Tue, May 30, 2017 at 03:45:15AM -0400, isolomka wrote: > Hi Maxim, > Thanks for quick response. > I've implemented all upstream callbacks and upstream seems to work fine > now. > > But i still have the open question how to avoid sending received data from > upstream to the downstream c

Re: Prebuilt nginx modules (configuration)?

2017-05-30 Thread tgkprog
Oh thank you, yes that worked on my pre-built. I will install the default and do the same too. Thank you. Also please : with the pre-built, can we give an alternate location to install ? How? I would like to install nginx on a seperate directory on my Ubuntu 14.04 LTS. Can I use the pre built ve

Re: no modules found after compiling

2017-05-30 Thread Maxim Dounin
Hello! On Tue, May 30, 2017 at 11:21:46AM -0500, Joel Parker wrote: > how can I compile them as external modules (shared objects) ? Yes, you can. You should use "--add-dynamic-module=..." to do this. $ ./configure --help | grep add- --add-module=PATH enable external module

Re: no modules found after compiling

2017-05-30 Thread Joel Parker
how can I compile them as external modules (shared objects) ? Joel Parker On Tue, May 30, 2017 at 10:22 AM, Maxim Dounin wrote: > Hello! > > On Tue, May 30, 2017 at 10:14:32AM -0500, Joel Parker wrote: > > > I am running centos7 and am compiling the lua module and the ndk http > > module. Every

Re: Prebuilt nginx modules (configuration)?

2017-05-30 Thread Kevin Worthington
Did you try: nginx -V (note the capital V; lowercase v will simply show the version) output on ubuntu for me: nginx version: nginx/1.13.0 built with OpenSSL 1.0.2k 26 Jan 2017 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/va

Re: [nginx-announce] nginx-1.13.1

2017-05-30 Thread Kevin Worthington
Hello! I am getting this error when trying to build on Cygwin: -o objs/src/os/unix/ngx_udp_send.o \ src/os/unix/ngx_udp_send.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -D FD_ SETSIZE=2048 -I src/core -I src/event -I src/event/modules -I src/os/unix

Re: no modules found after compiling

2017-05-30 Thread Maxim Dounin
Hello! On Tue, May 30, 2017 at 10:14:32AM -0500, Joel Parker wrote: > I am running centos7 and am compiling the lua module and the ndk http > module. Everything seems to be configured correctly but after I do a make > and make install, the modules directory doesn't exist and there are no sign >

Active/Active NginX configuration

2017-05-30 Thread kingstonsew
I current have configured 2 NginX running on Red Had Enterprise Linux 7.3. Both NginX will load balance a set of 4 application servers. The current configuration for both of the NginX is active / passive by using keepalived with a single virtual IP. I would like to know how to make the 2 NginX int

no modules found after compiling

2017-05-30 Thread Joel Parker
I am running centos7 and am compiling the lua module and the ndk http module. Everything seems to be configured correctly but after I do a make and make install, the modules directory doesn't exist and there are no sign of the shared libraries : ndk_http_module.so ngx_http_ula_module.so Here is

nginx-1.13.1

2017-05-30 Thread Maxim Dounin
Changes with nginx 1.13.130 May 2017 *) Feature: now a hostname can be used as the "set_real_ip_from" directive parameter. *) Feature: vim syntax highlighting scripts improvements. *) Feature: the "worker_cpu_affinity" directive now work

Modules folder not created

2017-05-30 Thread Joel Parker
I am running centos7 and am compiling the lua module and the ndk http module. Everything seems to be configured correctly but after I do a make and make install, the modules directory doesn't exist and there are no sign of the shared libraries : ndk_http_module.so ngx_http_ula_module.so Here is

Re: Prebuilt nginx modules (configuration)?

2017-05-30 Thread tgkprog
FYI : >> I want to know what are the exact modules that are included in the pre built Ubuntu version, where can I see that? What I mean is when I built on my ubuntu I gave the command : ./configure --prefix=/data/apps/ngx/n1_12_0 --with-debug --with-threads --with-file-aio --with-ipv6 --with-h

Prebuilt nginx modules (configuration)?

2017-05-30 Thread tgkprog
hello, I have a few questions: A. I want to install nginx on a seperate directory on my Ubuntu 14.04 LTS. Can I use the pre built version for that? How do it? Download the deb and run the command from terminal with the --prefix=/home/wibmoapp/apps/ngx/n1_12_0 option? B. Else do I need to build fr

Params by PHP

2017-05-30 Thread Jingael
Hi, I'm noob with nginx and I use a module named nginx rtmp. Is it possible get params from the php script? (no by $_GET) Thank you Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274506,274506#msg-274506 ___ nginx mailing list nginx@nginx

Re: Upstream module usage to process data

2017-05-30 Thread isolomka
Hi Maxim, Thanks for quick response. I've implemented all upstream callbacks and upstream seems to work fine now. But i still have the open question how to avoid sending received data from upstream to the downstream client. As I said, I need to process received data first and after that send resul