Strip Character from Server Variable

jamessinton nginx-forum at nginx.us
Wed Feb 29 14:38:14 UTC 2012


Hi all,

I am trying to do something that sounds very simple and yet has me
perplexed.  I need to strip the leading / from the $uri variable in my
nginx.conf.  I need to then pass that modified variable to ProxyPass.

I can't for the life of me figure out how to this in the nginx.conf
syntax.

Thanks in advance.

James

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



More information about the nginx mailing list