Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: nginx config question, rules?

$
0
0
itpp2012 Wrote:
-------------------------------------------------------
> TPFreak Wrote:
> -------------------------------------------------------
> > not a single documentation on how to use it with cookies &
> variables,
> > so it can't be that easy? lol
>
> Thats why I said test map block with curl,
>
> map $http_cookie $checkCookie {
> default 0;
> ~$SHA1 $var;
> }
>
> Should work with $var but untested, else you might have to switch to
> Lua where complex variable handling is 'easier'.


What is $var?

What is SHA1?

Is it the full cookie encrypted?

What's the value of the cookie, and whats the name?

I only want the value encrypted. Lua is not a option for me, i can not install modules like that.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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