Rewrite mirrored request

Jurian Broertjes jurian.broertjes at openindex.io
Mon May 28 13:38:45 UTC 2018


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 /mirror;
....
     proxy_pass http://slave;
   }

   location /mirror {
     internal;

     rewrite prd-solr solr;
     proxy_pass http://cloud;
   }


Best regards,
Jurian


More information about the nginx mailing list