Variables disallowed in first proxy_redirect parameter?

Maxim Dounin mdounin at mdounin.ru
Tue Nov 24 12:18:27 MSK 2009


Hello!

On Mon, Nov 23, 2009 at 01:36:58PM -0500, Maxim Khitrov wrote:

> Hello all,
> 
> Is it not possible to use variables in the first parameter to
> proxy_redirect directive? I ran some experiments and it seems that
> given the following two configurations, only the second one works,
> even though $host == "site.domain.com":

Variables allowed only in replacement part.

Maxim Dounin




More information about the nginx mailing list