]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: add faked referer
authorGrant Slater <git@firefishy.com>
Mon, 23 Mar 2020 12:35:57 +0000 (12:35 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 23 Mar 2020 12:35:57 +0000 (12:35 +0000)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb

index 4e1daee4ac4404e38745f87c1cc3ecbe978bb1be..22ebd88cbfa2253b181d453da33b5f54c3e789f3 100644 (file)
@@ -76,8 +76,10 @@ map $http_referer $denied_referer {
   default                          0; # Not denied
   'http://www.openstreetmap.org/'  1; # Faked
   'http://www.openstreetmap.org'   1; # Faked
+  'https://www.openstreetmap.org'  1; # Faked
   'http://openstreetmap.org/'      1; # Faked
   'http://openstreetmap.org'       1; # Faked
+  'https://openstreetmap.org'      1; # Faked
   'http://www.osm.org/'            1; # Faked
   'http://www.osm.org'             1; # Faked
   'http://osm.org/'                1; # Faked