Thank you Francis! I had to put "fastcgi_param REQUEST_URI $request_uri;" in the location, even though it was already specified for the server. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,230584,230596#msg-230596