10 lines
196 B
Plaintext
10 lines
196 B
Plaintext
##
|
|
# Protect Perl/CGI/etc files
|
|
# Very few sites run perl or cgi scripts anymore, block them !!
|
|
# and block people even looking for them
|
|
##
|
|
|
|
location ~* \.(pl|cgi|py|sh|lua)\$ {
|
|
return 418;
|
|
}
|