Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: set $cookie_abc "$cookie_abc";

$
0
0
The variable $cookie_abc will exist only if the client request cookie has "abc". In my case the first request won't have this cookie set and I am setting this value for some magic.

Lua module is very this on this feature. If we do not have the variable defined you should set it before using.

set $cookie_abc "$cookie_abc"

If the above works as expected I am good.

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>