0

This one is bugging me and it should work but I must be missing a nuance somewhere:

    #== UPSTREAMS ==
upstream server_vip {
    server superduper.com:443;
}

upstream server_alt_vip {
    server superduper2.com:443;
} 

    map $cookie_route_parallel $pool { 
        default "server_vip";
        value2 "server_alt_vip";
        value1 "server_vip";
    }

        location /directory {
            proxy_pass https://$pool/directory;

It does not appear to be picking up the cookie value.

2
  • How do you know you have cookie with that value?
    – Alexey Ten
    Nov 14 at 20:41
  • I have it created it in the service layer before hand and have verified it exists in Chrome inspection tools. Nov 14 at 22:55

0

You must log in to answer this question.

Browse other questions tagged .