Welcome! Log In Create A New Profile

Advanced

Strip Character from Server Variable

February 29, 2012 09:38AM
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
Subject Author Posted

Strip Character from Server Variable

jamessinton February 29, 2012 09:38AM

Re: Strip Character from Server Variable

Valentin V. Bartenev February 29, 2012 09:54AM

Re: Strip Character from Server Variable

Valentin V. Bartenev February 29, 2012 09:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
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