Skip to content

Commit 626a5d4

Browse files
committed
Fix configuration error which made the message appear everywhere
1 parent c1f155d commit 626a5d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ansible/group_vars/tileservers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ apache:
188188
RewriteRule "[38]/[0-9]+9\.png" "/tile-util/vr0.png" [PT]
189189
# Special message for the operator of kozlekedesiklub.hu who "struggle" :-) to set up a cache.
190190
RewriteCond "%{HTTP_REFERER}" "kozlekedesiklub\.hu"
191-
# Exclude requests not for tiles. Otherwise /index.html and its assets are forbidden as well.
192-
RewriteRule "/7/70/44\.png" "/tile-util/please-contact.png" [PT]
193-
RewriteRule "/8/141/89\.png" "/tile-util/please-contact.png" [PT]
191+
RewriteRule "/(8/141/89|7/70/44)\.png" "/tile-util/please-contact.png" [PT]
192+
RewriteCond "%{HTTP_REFERER}" "kozlekedesiklub\.hu"
194193
RewriteRule "[50]/[0-9]+[27]\.png" "/tile-util/please-contact.png" [PT]
194+
RewriteCond "%{HTTP_REFERER}" "kozlekedesiklub\.hu"
195195
RewriteRule "[38]/[0-9]+[18]\.png" "/tile-util/vr0.png" [PT]
196196
197197
# Warn https://168railway.com/ that they are running into being blocked.

0 commit comments

Comments
 (0)