Re: Add header based on fastcgi response

2015-06-02 Thread ryd994
On Tue, Jun 2, 2015 at 5:04 PM Szépe Viktor wrote: Could anyone comment on this? Idézem/Quoting Szépe Viktor : > Good morning! > > I'd like to add a X-Fastcgi-Cache header when there is a fastcgi > cache hit, when the response is stored to or retrieved from the cache. > > add_header X-Fastcgi-

Re: Any reason stub_status would return 0.00 for last CPU?

2015-06-02 Thread Maxim Dounin
Hello! On Tue, Jun 02, 2015 at 04:55:34PM -0400, knofun wrote: > Server is running really hot so investigating. Stub_status displays > requests, but CPU data is 0.00 for all: > > http://pastebin.com/U0pLCBQ8 > > I'm running 1.8.0 with php-fpm and fastcgi caching The output in question is not f

Re: Add header based on fastcgi response

2015-06-02 Thread Szépe Viktor
Could anyone comment on this? Idézem/Quoting Szépe Viktor : Good morning! I'd like to add a X-Fastcgi-Cache header when there is a fastcgi cache hit, when the response is stored to or retrieved from the cache. add_header X-Fastcgi-Cache 600; Could you help me? Thank you. Szépe Vi

Any reason stub_status would return 0.00 for last CPU?

2015-06-02 Thread knofun
Server is running really hot so investigating. Stub_status displays requests, but CPU data is 0.00 for all: http://pastebin.com/U0pLCBQ8 I'm running 1.8.0 with php-fpm and fastcgi caching Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259350,259350#msg-259350

RE: SSL session caching

2015-06-02 Thread Lukas Tribus
> In my current setup I have nginx behind a load balancing router (OSPF) > where each connection to the same address has about 16% chance of > hitting the same server as the last time. If you get your router to only hash source and destination IP instead of 5-tuple for the load-balancing, that

SSL session caching

2015-06-02 Thread CJ Ess
In my current setup I have nginx behind a load balancing router (OSPF) where each connection to the same address has about 16% chance of hitting the same server as the last time. In a setup like that, does SSL session caching make any difference? I was thinking it through this morning and I'm bett

Re: SSL session caching

2015-06-02 Thread Maxim Dounin
Hello! On Tue, Jun 02, 2015 at 10:29:31AM -0400, CJ Ess wrote: > In my current setup I have nginx behind a load balancing router (OSPF) > where each connection to the same address has about 16% chance of hitting > the same server as the last time. > > In a setup like that, does SSL session cachi

Re: In-flight HTTP requests fail during hot configuration reload (SIGHUP)

2015-06-02 Thread Maxim Dounin
Hello! On Mon, Jun 01, 2015 at 09:21:12PM +0100, Matthew O'Riordan wrote: [...] > > Your problem is in step (5). While you've started new nginx > > workers to handle new requests in step (4), this doesn't guarantee > > that old upstream servers are no longer needed. > > I realise that is the

Re: Find out if config file is loaded/used

2015-06-02 Thread Maxim Dounin
Hello! On Tue, Jun 02, 2015 at 11:52:41AM +0200, Oliver Schrenk wrote: > Hi, > > we configured load balancing around 10 machines in 2 clusters > using symbolic links to various configuration file. We change > the symbolic link to a different file if we need to do > maintenance on one of the c

Find out if config file is loaded/used

2015-06-02 Thread Oliver Schrenk
Hi, we configured load balancing around 10 machines in 2 clusters using symbolic links to various configuration file. We change the symbolic link to a different file if we need to do maintenance on one of the clusters and reload nginx. We are building some automation around this and want to mak

Re: Nginx LibreSSL and BoringSSL alternative to OpenSSL ?

2015-06-02 Thread George
Tested fine with ECC 256 bit and RSA 2048 bit SSL and chacha20_poly1305 https://community.centminmod.com/threads/nginx-and-libressl-alternative-to-openssl.3146/ :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259325,259333#msg-259333 ___ ng