nginScript and accessing cookies

Unsay nginx-forum at
Thu Apr 13 19:54:53 UTC 2017

Okay, I've found the answer to my question.

nginScript supports access to all of NGINX's variables. This also provides
access to the cookie like so:

myfunction(req, res) {
  var cookie = req.variables.http_cookie;

Kind regards


Posted at Nginx Forum:,273509,273626#msg-273626

More information about the nginx mailing list