]> git.openstreetmap.org Git - chef.git/commit
tilecache: rate limit Browser UA not sending a referer
authorGrant Slater <git@firefishy.com>
Tue, 24 Mar 2020 17:03:18 +0000 (17:03 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 24 Mar 2020 17:03:21 +0000 (17:03 +0000)
commit751317da2082df39c5fa65f432aa70d68bd8c1ac
tree68c1bd1367e48e58f06e336337e6f4a2fca2daf7
parent589c6a679bf2f9497188978af05055cc10530393
tilecache: rate limit Browser UA not sending a referer

Rate limit Browsers which do not send a referer.
Without a referer we are unable to say who is accessing our server.

No referer could be due to some of the following options:
* https accessing http tiles (we have STS is place to avoid)
* Browser Extension blocking referer (eg: uMatrix)
* Site with Referrer-Policy set
cookbooks/tilecache/templates/default/nginx_tile.conf.erb