Skip to content

Commit

Permalink
Chore: block Sqlite scraper patterns (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Nov 15, 2023
2 parents c96bbf8 + bd4aa14 commit 10da104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appcontainer/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ http {

# 404 known scraping file targets
# case-insensitive regex matches the given file extension anywhere in the request path
location ~* /.*\.(ash|asp|axd|cgi|com|env|json|php|ping|xml|ya?ml) {
location ~* /.*\.(ash|asp|axd|cgi|com|db|env|json|php|ping|sqlite|xml|ya?ml) {
access_log off;
log_not_found off;
return 404;
Expand Down

0 comments on commit 10da104

Please sign in to comment.