Nginx multiple upstream map conditions

c0nw0nk nginx-forum at forum.nginx.org
Wed Aug 31 17:30:30 UTC 2016


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 1 how can I set
$session_id_value ''; make empty

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269296,269319#msg-269319



More information about the nginx mailing list