I don't think you can do this kind of url routing in php without modifying the .htaccess file.
url.rewrite-once = ( "^/(.*)$" => "index.php/$1" )
location {
root /usr/share/nginx/html;
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$request_uri;
}