Welcome! Log In Create A New Profile

Advanced

Rewrite mirrored request

Jurian Broertjes
May 28, 2018 09:40AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rewrite mirrored request

Jurian Broertjes May 28, 2018 09:40AM

Re: Rewrite mirrored request

Roman Arutyunyan May 28, 2018 11:52AM

Re: Rewrite mirrored request

Jurian Broertjes May 29, 2018 05:20AM

Re: Rewrite mirrored request

Roman Arutyunyan May 29, 2018 08:30AM

Re: Rewrite mirrored request

Jurian Broertjes May 30, 2018 03:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready