1.9.5 slower then 1.9.4 or 1.8.0 on static files

2015-09-29 Thread bbogdan
I just migrated a new customer to nginx/php-fpm and notice a considerable delay with requests. nginx Version 1.9.5 compiled from rpm with http/2 hosting: linode Virtualizer: KVM I noticed that the site was slower with an avg ttfb of ~1.1s. Only until i got to test static assets did i discover t

Re: Problems with HTTP/2

2015-09-29 Thread Aapo Talvensaari
On 30 September 2015 at 02:20, Valentin V. Bartenev wrote: > The code was already broken, it was a coincidence that it worked. Thanks for the patience. Case closed. I just wanted to be sure. It seems like Chrome is more demanding on HTTP/2 headers than others. Regards Aapo __

Re: Problems with HTTP/2

2015-09-29 Thread Valentin V. Bartenev
On Tuesday 29 September 2015 13:34:46 Aapo Talvensaari wrote: > On 29 September 2015 at 12:25, Francis Daly wrote: > > On Tue, Sep 29, 2015 at 01:06:50AM +0300, Aapo Talvensaari wrote: > > > It just sets the status code. It is normal PHP 5.3 code [1]. I might need > > > to compile nginx by hand to

Re: Problems with HTTP/2

2015-09-29 Thread Valentin V. Bartenev
On Tuesday 29 September 2015 14:14:44 Aapo Talvensaari wrote: > On 29 September 2015 at 13:38, Sergey Kandaurov wrote: > > So, the header field name output as generated with php > > (and previously guessed by Valentin), > > is invalid as per 7230, which is in turn referenced in 7540. > > > > : f

Re: nginx 1.9.5 and realip

2015-09-29 Thread Francis Daly
On Sun, Sep 27, 2015 at 10:24:22AM -0700, Frank Liu wrote: Hi there, > Just tried latest 1.9.5 rpm that has realip module enabled. The > $remote_port variable becomes blank. Is that known? > Is there another way I can get the remote_port? I think that there is not. The connection comes from src

Re: nginx nested location and different basic authentication file

2015-09-29 Thread Francis Daly
On Sun, Sep 27, 2015 at 04:32:56AM -0400, cacrus wrote: Hi there, Your Subject: mentions "nested location"; but your config doesn't seem to show any explicit nesting. > location /parent/ { > set $basic_file /nginx/conf/.htpasswd; > if ($request_uri ~ (vi

Re: http digest + proxy doesn't work on /something?x=3?

2015-09-29 Thread Francis Daly
On Mon, Sep 28, 2015 at 04:24:21PM +0200, Jacek Wielemborek wrote: Hi there, > I have a question > regarding HTTP digest nginx module in combination with proxy_pass. I > tried the attached configuration file in combination with nginx-1.6.3 > and kept getting asked for password infinitely when I t

Delay in proxied requests locked by proxy_cache_lock

2015-09-29 Thread footplus
Hello, While doing benchmarks in a configuration using proxy_cache and proxy_cache_lock, I noticed that many requests had a duration very close to 500ms. Upon further analysis, I determined that a huge majority of these requests were actually HITs, and investigated to see where do the delay came

Re: Throughput with Loadbalancer

2015-09-29 Thread Lucas Rolff
You could also use multiple A records on a DNS level, and let DNS balance the traffic between the two machines. wolfgangpue 29 Sep 2015 14:19 Lucas Rolff Wrote: --- Ok, thank you. I think DSR is on a lower leve

Re: Throughput with Loadbalancer

2015-09-29 Thread wolfgangpue
Lucas Rolff Wrote: --- > Else you need to look for "DSR" (Direct Server Return), I'm not > completely sure if nginx actually supports this. Ok, thank you. I think DSR is on a lower level and nginx has no influence on it. I will try another apr

Re: Problems with HTTP/2

2015-09-29 Thread Aapo Talvensaari
On 29 September 2015 at 13:38, Sergey Kandaurov wrote: > So, the header field name output as generated with php > (and previously guessed by Valentin), > is invalid as per 7230, which is in turn referenced in 7540. > > : field-name = token > : token = 1*tchar > : tchar = "!" / "#" / "quot; /

Re: Problems with HTTP/2

2015-09-29 Thread Sergey Kandaurov
On Sep 29, 2015, at 12:25 PM, Francis Daly wrote: > On Tue, Sep 29, 2015 at 01:06:50AM +0300, Aapo Talvensaari wrote: >> On 29 September 2015 at 00:01, Valentin V. Bartenev wrote: On Monday 28 September 2015 20:59:23 Aapo Talvensaari wrote: > > header(':', true, 403); > die

Re: Problems with HTTP/2

2015-09-29 Thread Aapo Talvensaari
On 29 September 2015 at 12:25, Francis Daly wrote: > On Tue, Sep 29, 2015 at 01:06:50AM +0300, Aapo Talvensaari wrote: > > It just sets the status code. It is normal PHP 5.3 code [1]. I might need > > to compile nginx by hand to get more debug info. > > For what it's worth: > > when I test with a

Re: Setting headers

2015-09-29 Thread Joó Ádám
Maxim, > When using nginx XSLT filter module, it shouldn't be needed to > modify Content-Type at all. Use xsl:output media-type attribute > instead to provide a correct media type from the stylesheet itself. I never knew output had a media-type attribute, thanks! Ádám

HTTP/2 cipher suits black list

2015-09-29 Thread beatnut
Hello, I'm using "Intermediate compatibility" ciphersuits from here https://wiki.mozilla.org/Security/Server_Side_TLS. Could somebody answer if this ciphers are compatible with HTTP/2 according to the black list https://tools.ietf.org/html/rfc7540#appendix-A ? Thank you Posted at Nginx Forum:

Re: Http2 not starting up

2015-09-29 Thread beatnut
Try add ssl parameter to the listen directive. https://www.nginx.com/blog/nginx-1-9-5/ Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261910,261916#msg-261916 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/n

Re: Problems with HTTP/2

2015-09-29 Thread Francis Daly
On Tue, Sep 29, 2015 at 01:06:50AM +0300, Aapo Talvensaari wrote: > On 29 September 2015 at 00:01, Valentin V. Bartenev wrote: > > >On Monday 28 September 2015 20:59:23 Aapo Talvensaari wrote: > > >> On 28 September 2015 at 19:44, Valentin V. Bartenev > > wrote: Hi there, > > >> > >> header(':