Skip to content

Commit 84bc92f

Browse files
committed
Ban generic osmdroid user-agent
1 parent 26fadcd commit 84bc92f

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
@@ -225,6 +225,8 @@ apache:
225225
RewriteCond "%{HTTP_USER_AGENT}" "^Go-http-client/" [OR]
226226
# map client for Flutter
227227
RewriteCond "%{HTTP_USER_AGENT}" "^flutter_map \(unknown\)$" [OR]
228+
# generic osmdroid user agent
229+
RewriteCond "%{HTTP_USER_AGENT}" "^com.osmdroid.maps$" [OR]
228230
# WindowsPowerShell (more than 40k requests/day from a single IP)
229231
RewriteCond "%{HTTP_USER_AGENT}" "WindowsPowerShell/[0-9.]+" [OR]
230232
# Cloudflare, referrer (b|c).tiles.openrailwaymap.org

0 commit comments

Comments
 (0)