want to store urls (locations) in files and issue redirects based on file contents. $request_body looks like it's only available on proxy... Posted at Nginx Forum: http://forum.nginx.org/read.php?2,43668,43668#msg-43668