Nginx cookie map regex remove + character

c0nw0nk nginx-forum at
Fri Mar 24 21:18:23 UTC 2017

So this is my map

map $http_cookie $session_id_value {
default '';
"~^.*[0-9a-f]{32}\=(?<session_value>[\w]{1,}+).*$" $session_value;

The cookie name = a MD5 sum the full / complete value of the cookie seems to
cut of at a plus + symbol

What would the correct regex to be to ignore / remove + symbols from

Posted at Nginx Forum:,273182,273182#msg-273182

More information about the nginx mailing list