is there a way to change $uri variable?

Nanyang Zhan lists at ruby-forum.com
Thu Nov 26 11:46:30 MSK 2009


In .conf file, is there a way to change $uri variable?

I want to do something like:
try_files ${uri}.sub(/test$/, "dev") @mongrel

I know there is rewrite function, but I do not use it because I want to
keep the original $uri value to the @mongrel section.
-- 
Posted via http://www.ruby-forum.com/.




More information about the nginx mailing list