[PATCH] Adds $orig_remote_addr in realip module

Jon Nalley code at bluebot.org
Mon Jun 8 16:41:40 UTC 2015


Hi,

On Sun, Jun 7, 2015 at 7:32 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Your assumption was wrong.  The problem is simple: you can't use
> contexts as long as stored data must survive internal
> redirects.
>
> Try logging your variable and check how it works for requests to
> index files

Thanks for the explanation and the test case!  I will look for an
alternative solution.



More information about the nginx-devel mailing list