Hacker News new | ask | show | jobs
by patio11 6280 days ago
For Nginx:

location ~ /\.(svn|git) { deny all; }