identifying last request on a tcp connection.

2018-09-18 Thread winger7
I've been trying to identify the last HTTP request from a buffer of 10 requests sent on a TCP connection in nginx. I've tried to use the header_in field in the ngx_http_request_t by checking if the pos field for the header_in is equal to the last field. This condition holds true twice, once on the

Re: Nginx compile with OpenSSL 1.1.1 and DESTDIR=

2018-09-18 Thread Anoop Alias
Hi, ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --with-openssl=./openssl-1.1.1 make DESTDIR=/opt/test install Did not create the .openssl directory inside the openssl source , but instead, this created the .openssl directory in the DESTDIR I found out that if we use an explicit m

404 error on yum nginx repository

2018-09-18 Thread Greg Barker
Seems like maybe something is broken on the nginx packages download. For example, if I curl this endpoint I get a set of results from 31-Jul-2018 $ curl https://nginx.org/packages/rhel/7/x86_64/repodata/ Index of /packages/rhel/7/x86_64/repodata/ Index of /packages/rhel/7/x86_64/repodata/../ 43

Osticket With nginx proxy_pass.

2018-09-18 Thread Labs Ocozzi
Dears, i need a help. My Osticket (/_support ticket system_/) not work with nginx front-end. The system report the error: _Valid CSRF Token Required_ when login in system, but when i try acess a enviroment across the url(httpd): http://192.168.1.51:8015 the system work fine. Below my configfil

Re: Nginx compile with OpenSSL 1.1.1 and DESTDIR=

2018-09-18 Thread Sergey Kandaurov
> On 18 Sep 2018, at 10:55, Anoop Alias wrote: > > > Hi, > > I am trying to compile nginx 1.15.3 (mainline) with OpenSSL 1.1.1 > > # ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx > --with-openssl=./openssl-1.1.1 > > # make DESTDIR=/opt/test install > > But this error out wi

Re: No live upstreams with a single upstream

2018-09-18 Thread Maxim Dounin
Hello! On Tue, Sep 18, 2018 at 06:02:46AM -0400, domleb wrote: > While running a load test that injects 10k TPS across 3 Nginx instances, we > are seeing spikes of errors where Nginx returns HTTP 502 and logs the > message 'no live upstreams while connecting to upstream'. There are no > other er

No live upstreams with a single upstream

2018-09-18 Thread domleb
While running a load test that injects 10k TPS across 3 Nginx instances, we are seeing spikes of errors where Nginx returns HTTP 502 and logs the message 'no live upstreams while connecting to upstream'. There are no other errors logged e.g. connection errors. Also, we have a single upstream virt

Nginx compile with OpenSSL 1.1.1 and DESTDIR=

2018-09-18 Thread Anoop Alias
Hi, I am trying to compile nginx 1.15.3 (mainline) with OpenSSL 1.1.1 # ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --with-openssl=./openssl-1.1.1 # make DESTDIR=/opt/test install But this error out with --- cc: error: ./openssl-1.1.1/.openssl/lib/libssl.a: No such f