On 25 Mai 2011 16h07 WEST, appa at perusio.net wrote: Oops. > If I'm understanding correctly what you want to do, you'll need a > location with a regex that captures that URI component. E.g.: > > location /(?<clientkey>[^/]*)/ { > (...) set_unescape_uri $key $clientkey; ^^^^^^^^^^ Now it's correct. > (...) > } --- appa