Skip to content

Commit 2ddf954

Browse files
committed
Ban Curl user agent
1 parent cc2f8d5 commit 2ddf954

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ansible/group_vars/tileservers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ apache:
246246
RewriteCond "%{HTTP_USER_AGENT}" "^MOBAC/" [OR]
247247
# Wget, non-interactive network downloader
248248
RewriteCond "%{HTTP_USER_AGENT}" "^Wget/" [OR]
249+
# Curl, HTTP library and command line utility
250+
RewriteCond "%{HTTP_USER_AGENT}" "^curl/" [OR]
249251
# generic Mozilla
250252
RewriteCond "%{HTTP_USER_AGENT}" "^Mozilla/5.0$" [OR]
251253
# Go HTTP client

0 commit comments

Comments
 (0)