Sorry, forgot to add that Zend Framework is used here, so any dynamic request would pass "if (!-e $request_filename) {" because it's ending with "/". Posted at Nginx Forum: http://forum.nginx.org/read.php?2,109438,109439#msg-109439