c0nw0nk Wrote:
---
> Francis Daly Wrote:
> ---
> > On Wed, Aug 31, 2016 at 01:30:30PM -0400, c0nw0nk wrote:
> >
> > Hi there,
> >
> > > Thanks works a treat is it possible or allowed to do the
Francis Daly Wrote:
---
> On Wed, Aug 31, 2016 at 01:30:30PM -0400, c0nw0nk wrote:
>
> Hi there,
>
> > Thanks works a treat is it possible or allowed to do the following
> in a
> > nginx upstream map ? and if so how i can't figure it out.
>
> I
On Wed, Aug 31, 2016 at 01:30:30PM -0400, c0nw0nk wrote:
Hi there,
> Thanks works a treat is it possible or allowed to do the following in a
> nginx upstream map ? and if so how i can't figure it out.
I think it is logically impossible.
> I cache with the following key.
> fastcgi_cache_key
> "$
Valentin V. Bartenev Wrote:
---
> On Tuesday 30 August 2016 14:25:28 c0nw0nk wrote:
> > So this is a fun one.
> >
> > As allot of people probably already know you can't use "IF" on
> upstream
> > values since if conditions are executed before any
Thanks works a treat is it possible or allowed to do the following in a
nginx upstream map ? and if so how i can't figure it out.
I cache with the following key.
fastcgi_cache_key
"$session_id_value$scheme$host$request_uri$request_method";
if the upstream_cookie_logged_in value is not equal to
On Tuesday 30 August 2016 14:25:28 c0nw0nk wrote:
> So this is a fun one.
>
> As allot of people probably already know you can't use "IF" on upstream
> values since if conditions are executed before any "$upstream_" conditions.
>
> But with a map directive it might just be possible to combine 2 u
So this is a fun one.
As allot of people probably already know you can't use "IF" on upstream
values since if conditions are executed before any "$upstream_" conditions.
But with a map directive it might just be possible to combine 2 upstream
maps together and have a output based on the condition