How to set $ into a variable?

bigplum nginx-forum at nginx.us
Fri Nov 18 03:06:40 UTC 2011


nginx.conf: 
 location / {
    ....
    set $var "$uri=200k"
    ....

and run "curl localhost/"

The module use ngx_http_get_indexed_variable() for $var will get the
string "/=200k", but I want the value is "$uri=200k". 

So any escape character supported in nginx.conf?

THANKS.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,218536,218536#msg-218536



More information about the nginx mailing list