Convert RewriteRule ^(.*)$ - to NGINX rewrite

Could convert this .htaccess to NGINX rewrite?

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* - [L]

Posted at Nginx Forum: