[PATCH] Mirror directive supports variable

Roman Arutyunyan arut at nginx.com
Tue Mar 31 06:02:37 UTC 2020


On Mon, Mar 30, 2020 at 03:36:11PM +0300, Roman Arutyunyan wrote:
> Hello,
> 
> On Fri, Mar 13, 2020 at 11:29:51PM +0800, 一江春水,向东流 wrote:
> > # HG changeset patch
> > # User agile6v <liuwei19 at xiaomi.com>
> > # Date 1584110606 -28800
> > #      Fri Mar 13 22:43:26 2020 +0800
> > # Node ID e4a0277cab79865fde6fefeed9374154449e6948
> > # Parent  4eb606b4a5b521603c23223cf8863f3999df743c
> > mirror directive supports variable.

Also, what is the reason why you need variables in the mirror directive?
You can do the same thing by creating a static mirror and using rewrite to
change uri.

[..]

-- 
Roman Arutyunyan


More information about the nginx-devel mailing list