How to set $ into a variable?

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

 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?


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

More information about the nginx mailing list