Re: Rewrite mirrored request

2018-05-30 Thread Jurian Broertjes
Hi Roman, That seems to work, thanks! Best regards, Jurian On 29-05-18 14:28, Roman Arutyunyan wrote: Hi Jurian, On Tue, May 29, 2018 at 11:18:26AM +0200, Jurian Broertjes wrote: Hi Roman, Thank you for your answer, but it's not clear to me how to do this. The request I'd like to mirror is

Re: Rewrite mirrored request

2018-05-29 Thread Roman Arutyunyan
Hi Jurian, On Tue, May 29, 2018 at 11:18:26AM +0200, Jurian Broertjes wrote: > Hi Roman, > > Thank you for your answer, but it's not clear to me how to do this. > > The request I'd like to mirror is something like > http://solrproxy.example.org/prd-solr/abc/select?xyz, so I would expect the > "p

Re: Rewrite mirrored request

2018-05-29 Thread Jurian Broertjes
Hi Roman, Thank you for your answer, but it's not clear to me how to do this. The request I'd like to mirror is something like http://solrproxy.example.org/prd-solr/abc/select?xyz, so I would expect the "prd-solr" part to be rewritten for the mirror requests. The log says: "GET /prd-solr/abc

Re: Rewrite mirrored request

2018-05-28 Thread Roman Arutyunyan
Hello Jurian, On Mon, May 28, 2018 at 03:38:45PM +0200, Jurian Broertjes wrote: > Hi All, > > I'm trying to do a simple rewrite of a mirrored request, see the snippet > below. I'm under the impression that mirrored requests somehow cannot be > rewritten. Is this the case or am I doing something w

Rewrite mirrored request

2018-05-28 Thread Jurian Broertjes
Hi All, I'm trying to do a simple rewrite of a mirrored request, see the snippet below. I'm under the impression that mirrored requests somehow cannot be rewritten. Is this the case or am I doing something wrong here? Is there some other way to get the job done?   location / {     mirror /mi