Adding $request_path Variable

kolbyjack nginx-forum at nginx.us
Wed Aug 29 11:56:17 UTC 2012


This worked for me in a quick test:

map $request_uri $request_path {
  ~(?<captured_path>[^?]*) $captured_path;
}

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



More information about the nginx mailing list