Skip to content

Commit dd99061

Browse files
committed
Ban generic flutter_map user agent
1 parent f0f14ce commit dd99061

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/group_vars/tileservers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ apache:
223223
RewriteCond "%{HTTP_USER_AGENT}" "^Wget/" [OR]
224224
# Go HTTP client
225225
RewriteCond "%{HTTP_USER_AGENT}" "^Go-http-client/" [OR]
226+
# map client for Flutter
227+
RewriteCond "%{HTTP_USER_AGENT}" "^flutter_map \(unknown\)$" [OR]
226228
# WindowsPowerShell (more than 40k requests/day from a single IP)
227229
RewriteCond "%{HTTP_USER_AGENT}" "WindowsPowerShell/[0-9.]+" [OR]
228230
# Cloudflare, referrer (b|c).tiles.openrailwaymap.org

0 commit comments

Comments
 (0)