How to set $ into a variable?
MagicBear
magicbearmo at gmail.com
Fri Nov 18 13:58:37 UTC 2011
may be try set $var "\$uri=200k"
2011/11/18 bigplum <nginx-forum at nginx.us>:
> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
MagicBear
More information about the nginx
mailing list