Comment on Using SVN makes your site extremely vulnerableparentComments−patio1116yFor Nginx:location ~ /\.(svn|git) { deny all; }
Comments
For Nginx:
location ~ /\.(svn|git) { deny all; }