November 18, 2011 09:00AM
may be try set $var "\$uri=200k"

2011/11/18 bigplum <nginx-forum@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
MagicBear

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to set $ into a variable?

bigplum November 17, 2011 10:06PM

Re: How to set $ into a variable?

magicbear November 18, 2011 09:00AM

Re: How to set $ into a variable?

Maxim Dounin November 18, 2011 09:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 195
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready