location ~ /\.git { deny all; return 404; } location ~ (\.aws$|\.cgi$|\.env$|\.perl$|\.pl$|\.py$|\.sh$) { return 444; }