Restrict php file execution in .htaccess

on my multisite install I would like to improve security
I read this article, but didnt made it to do step 5
https://premium.wpmudev.org/blog/htaccess/
restrict php fiel execution
I guess my path is wrong? What should I change?

## BEGIN RESTRICT PHP FILE EXECUTION ##
<Directory "/var/www/wp-content/uploads/">
<Files "*.php">
Order Deny,Allow
Deny from All
</Files>
</Directory>
## END RESTRICT PHP FILE EXECUTION ##