BoringSSL build issue

2015-02-14 Thread apexlir
Hello, I get the following error when I try to build nginx 1.7.10 against boringssl latest revision : cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I /usr/local/boringssl/include -I/usr/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \

Re: 301 redirect

2015-02-14 Thread JACK LINKERS
Ok, thanks ! 2015-02-14 23:37 GMT+01:00 Francis Daly : > On Sat, Feb 14, 2015 at 11:30:19PM +0100, JACK LINKERS wrote: > > Hi there, > > > Thanks for your input. What would be the best ways doing it then ? > > (I forgot to mention there is a large amount of URLs : +/- 20) > > A bunch of lines lik

Re: 301 redirect

2015-02-14 Thread Francis Daly
On Sat, Feb 14, 2015 at 11:30:19PM +0100, JACK LINKERS wrote: Hi there, > Thanks for your input. What would be the best ways doing it then ? > (I forgot to mention there is a large amount of URLs : +/- 20) A bunch of lines like location = /oldname.html { return 301 /newname.html; } (It's the

Re: 301 redirect

2015-02-14 Thread JACK LINKERS
Hi Francis, Thanks for your input. What would be the best ways doing it then ? (I forgot to mention there is a large amount of URLs : +/- 20) Is this a good way ? : map $old $new { oldlink.html newlink.com oldink2.html newlink2.html } location $old { return 301 $scheme://$host$new; } If

Re: 301 redirect

2015-02-14 Thread Francis Daly
On Sat, Feb 14, 2015 at 10:57:26PM +0100, JACK LINKERS wrote: > But how do I redirect URLs that have been changed ? > ie. https://mywebsite.com/oldname.html to https://mywebsite.com/newname.html location = /oldname.html { return 301 /newname.html; } > I did try > >if ( $request_filename ~ o

Re: 301 redirect

2015-02-14 Thread Ian
On 14/02/2015 21:57, JACK LINKERS wrote: Hello, I need to redirect some URLs after redesigning my website. I use a 301 redirect for HTTP to HTTPS protocole : if ($scheme = "http") { return 301 https://$server_name$request_uri; } But how do I redirect URLs that have been changed ? ie. https://m

301 redirect

2015-02-14 Thread JACK LINKERS
Hello, I need to redirect some URLs after redesigning my website. I use a 301 redirect for HTTP to HTTPS protocole : if ($scheme = "http") { return 301 https://$server_name$request_uri; } But how do I redirect URLs that have been changed ? ie. https://mywebsite.com/oldname.html to https://mywebs

Converting POST into GET

2015-02-14 Thread Ian
Hi, I need (as part of a cache busting exercise) to convert a POST into a GET with the same URI parameters. ( The URL is currently a GET, but a proxy I have to subvert is mangling things :( There is no true POST data). Is there an Nginx configuration that would do this? I tried setting |$re

Re: Google dumps SPDY in favour of HTTP/2, any plans for nginx?

2015-02-14 Thread SplitIce
Indeed. The Wikipedia page covers it quite well FYI - http://en.wikipedia.org/wiki/HTTP/2 So what is really being asked is for a roadmap for the implementation of the non-draft differences (i.e HTTP/2.0 allows for non TLS communication, and multiplexes differently). I am sure nginx will once again