get cookie value which name contains hyphen

foxgab nginx-forum at
Wed Dec 20 10:01:35 UTC 2017

my app set a cookie which named like SESSIONID-MYAPP, i want to write the
value of that cookie to log file, but i tried $cookie_SESSIONID_MYAPP,
$cookie_SESSIONID-MYAPP, but i can't get what i want.

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

More information about the nginx mailing list