Re: SEO gone mad...

2015-10-12 Thread steve
On 10/13/2015 10:28 AM, Fireye00 wrote: Howdy Steve, I have a requirement from a customer that the terminal slash be rewritten when accessing the homepage - eg example.com/ is a 301 to example.com I've tried a simple rewrite of ^/$ but that just loops. In the given example request "example.com

Re: SEO gone mad...

2015-10-12 Thread itpp2012
Something like this: map $request_uri $requri { default 1; /0; } server { if ($requri) { return 301 http://example.com$request_uri; } # handle /x location / { # handle / only [...] Posted at Nginx Forum: http:/

Re: [ANNOUNCE] ngx_brotli

2015-10-12 Thread Piotr Sikora
Hey, > so how does this interact or conflict with gzip static/gzip ? do we need to > turn off gzip/gzip static in nginx to use brotli or can both be enabled ? Brotli wins, but both can co-exist. That is, with both modules enabled, Brotli will be used for clients supporting it (as determined by pr

Re: [ANNOUNCE] ngx_brotli

2015-10-12 Thread Piotr Sikora
Hey Aleks, > https://bugzilla.mozilla.org/show_bug.cgi?id=366559 > > In the firefox thread are some concerns about cpu usage vs bandwith savings. > Do you have done some tests from this point of view? That thread is quite old and a lot of the comments there might apply to the original Brotli impl

Re: SEO gone mad...

2015-10-12 Thread Fireye00
Howdy Steve, > I have a requirement from a customer that the terminal slash be > rewritten when accessing the homepage - eg example.com/ is a 301 to > example.com > I've tried a simple rewrite of ^/$ but that just loops. In the given example request "example.com", the path is going to be the sam

Re: SEO gone mad...

2015-10-12 Thread Aleksandar Lazic
Hi steve. Am 12-10-2015 21:59, schrieb steve: Hi folks, I have a requirement from a customer that the terminal slash be rewritten when accessing the homepage - eg example.com/ is a 301 to example.com But the solution below will not work due to the fact that most browser add a trailing / if t

SEO gone mad...

2015-10-12 Thread steve
Hi folks, I have a requirement from a customer that the terminal slash be rewritten when accessing the homepage - eg example.com/ is a 301 to example.com I've tried a simple rewrite of ^/$ but that just loops. Any ideas? Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengeck

Re: Http2 Priority

2015-10-12 Thread Valentin V. Bartenev
On Monday 12 October 2015 23:16:39 Muhui Jiang wrote: > Hi, > > Valentin, thanks for your response. > I rebuild the nginx --with-debug. And when I send request with my Jetty > client code. Nothing is added to the error.log. And I am going to tell you > the problem in detail. > > First, my nginx c

Re: Http2 Priority

2015-10-12 Thread Muhui Jiang
Hi, Valentin, thanks for your response. I rebuild the nginx --with-debug. And when I send request with my Jetty client code. Nothing is added to the error.log. And I am going to tell you the problem in detail. First, my nginx configure below: events { worker_connections 1024; } http {

Re: http/2 needs "weaker" ciphers?

2015-10-12 Thread Valentin V. Bartenev
On Friday 09 October 2015 10:14:24 p.heppler wrote: > I'm running nginx 1.9.5 and switched from spdy to http/2. > I wonder why I had to change my cipher list and add "weaker" ciphers? > > before (worked fine with spdy): > ssl_ciphers 'AES256+EECDH:AES256+EDH'; > > after: > ssl_ciphers 'EECDH+AESG

Re: Http2 Priority

2015-10-12 Thread Valentin V. Bartenev
On Friday 09 October 2015 16:41:00 Muhui Jiang wrote: > Hi, > > My first time to ask question. Is this the mail list for FAQ? > > If so, my question is that it seems nginx1.9.5 support the dependency tree > built in http/2. But through my test, the result is not what I expected. I > send 4 reques

Re: Http2 not getting enable

2015-10-12 Thread Valentin V. Bartenev
On Saturday 03 October 2015 00:42:28 khav wrote: > None of the only http2 indicators are able to detect http2 although i have > it enable > > Website Link : https://www.onestopmarketing.club > > Full Nginx Config : http://pastebin.com/ScGmZNwX > > I also did restart nginx or reload the configur

Re: Error Nginx 502 [upstream prematurely closed connection]

2015-10-12 Thread Maxim Dounin
Hello! On Sun, Oct 11, 2015 at 05:42:37PM -0400, javdev wrote: > Hello guys this is my first question here. > > I'm working on nginx almost 2 years, but in the laste days I have founded an > error, very complicated to solve. > > I'm working on Amazon stack, with Elastic Load Balancer (Using TCP