set directive issues

Victor Iggy lists at
Mon Apr 20 08:45:03 MSD 2009

set $full_uri "$host/$request_uri";
if ($full_uri ~* "(.*)\") {
    set $username_host $1;

I am trying to set $full_uri to both the arguments in a location block.
However, $full_uri is always "/"

This is driving me nuts.

I am trying to map..  <username> to$username

If anyone can help?
Posted via

More information about the nginx mailing list